# InterPro Protein Families Scraper (`parseforge/interpro-protein-families-scraper`) Actor

Scrapes InterPro protein family entries by accession list or by browsing a chosen entry type. Each row returns the entry name, type, accession, source database, and source organism.

- **URL**: https://apify.com/parseforge/interpro-protein-families-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Education, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.69 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner-v4.webp)](https://apify.com/parseforge?fpr=vmoqkp)

### InterPro Protein Families Scraper

**Scrape InterPro protein family entries by accession or browse by type, up to a million per run.** Every entry returns its name, type, accession, source database, and source organism. Export to JSON, CSV, Excel, or XML.

InterPro classifies proteins into families and predicts domains and important sites, but downloading entries one by one through the web interface is slow. This Actor reads the public InterPro entry pages directly, fetching exactly the accessions you list or browsing all entries filtered by type. Each match lands in your dataset as one flat row with a fixed schema.

| Who uses it | What they scrape InterPro for |
|---|---|
| Bioinformaticians | Building a local catalog of protein family signatures for a custom annotation pipeline. |
| Computational biologists | Gathering domain and site annotations across a target set of InterPro accessions for comparative genomics. |
| Data curators | Auditing InterPro entry metadata such as source databases and contributing organisms for quality control. |

### What it does

This Actor collects InterPro protein family entries by accession list or by browsing a chosen entry type, and returns each entry as a flat row with its name, type, accession, source database, and source organism.

- 🎯 **Targeted accession fetch:** provide a list of InterPro accessions like IPR000001 and the Actor retrieves exactly those entries, ignoring the type filter.
- 📂 **Browse by entry type:** leave the accession list empty and pick a type such as Family, Domain, or Binding site to crawl all matching entries.
- 📊 **Structured output:** every entry comes out as a flat row with name, type, accession, source database, and source organism, ready for analysis.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with InterPro data

**🧬 Build a protein signature reference set.**

A bioinformatician provides a list of InterPro accessions for known domains and the Actor fetches their metadata to seed an internal annotation database.

**🔍 Audit InterPro entries by type.**

A curator browses all entries classified as 'Conserved site' and exports the source database and organism fields to check annotation consistency.

**📋 Collect metadata for comparative genomics.**

A computational biologist pulls every 'Family' entry and uses the source organism field to map which taxa contribute to each protein family.

### Why choose this scraper

|  | What you get |
|---|---|
| **Targeted or broad** | Fetch specific accessions you care about, or browse every entry of a chosen type. |
| **Fixed schema** | Every row shares the same fields: name, type, accession, source database, and source organism. |
| **No API key** | Reads the public InterPro pages directly with no registration or authentication. |

### How it compares

This Actor and the alternative InterPro scraper both collect InterPro entry metadata. The table below highlights the capabilities each listing describes.

| Feature | ParseForge | Interpro Protein Families Scraper |
|---|---|---|
| Fetch by accession list | Yes | Not listed |
| Browse by entry type | Yes | Not listed |
| Source organism field | Yes | Not listed |
| Export to JSON, CSV, Excel, XML | Yes | Yes |
| Up to 1 million entries per run | Yes | Not listed |

### Configure the run

Drive the Actor from a list of InterPro accessions or by browsing a single entry type, and set a maximum number of entries so your dataset stays within the size you need. The Input tab lists every parameter.

A first run with the defaults:

```json
{
  "accessions": [
    "IPR000001",
    "IPR000003",
    "IPR000006"
  ],
  "maxItems": 10
}
```

A larger pull:

```json
{
  "accessions": [
    "IPR000001",
    "IPR000003",
    "IPR000006"
  ],
  "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.017 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $1.70 |
| 1,000 results | $17.00 |
| 10,000 results | $170.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [InterPro Protein Families Scraper](https://apify.com/parseforge/interpro-protein-families-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to InterPro through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/interpro-protein-families-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check that your accessions are valid InterPro identifiers like IPR000001. If you left the accessions list empty, make sure you selected an entry type other than 'Any type' and that the maximum entries is set to a number greater than zero.

**The run is taking too long.**

Lower the maximum entries value to reduce the number of pages the Actor visits. If you are browsing by type, pick a narrower type to limit the crawl scope.

**Some accessions I listed are missing from the output.**

Verify that the accession string is spelled correctly and that the entry still exists on the InterPro website. The Actor skips accessions that return a page not found error.

**The output contains fewer rows than my maximum entries setting.**

The Actor stops when it has collected the requested number of entries or when no more entries of the chosen type are available. Try a broader type or a higher limit if you need more data.

### FAQ

| Question | Answer |
|---|---|
| Can I fetch a specific list of InterPro accessions? | Yes. Fill the accessions list with entries like IPR000001 and the Actor will retrieve exactly those entries, ignoring the type filter. |
| How do I browse all entries of one type? | Leave the accessions list empty and choose an entry type from the dropdown, such as Family or Domain. The Actor will crawl all matching entries up to your maximum limit. |
| What fields does each row contain? | Every row includes the entry name, type, accession, source database, and source organism. The exact field list is shown in the sample output on the Actor's page. |
| Is there a rate limit or do I need an API key? | No API key is required. The Actor reads the public InterPro entry pages. You can control the volume with the maximum entries setting. |
| Can I export the results to CSV or Excel? | Yes. The dataset can be exported in JSON, CSV, Excel, or XML formats directly from your Apify run. |
| What happens if I provide both accessions and an entry type? | When the accessions list is not empty the type filter is ignored. The Actor fetches exactly the accessions you listed. |
| How many entries can I collect in one run? | You can set the maximum up to one million entries per run. The default is 10 for quick tests. |
| Does this Actor handle PTM and binding site entries? | Yes. The entry type filter includes PTM, binding site, active site, and conserved site, alongside families, domains, repeats, and homologous superfamilies. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by EMBL-EBI. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `accessions` (type: `array`):

Optional list of specific InterPro accessions to fetch, for example 'IPR000001' or 'IPR000003'. When this list is non-empty the Actor fetches exactly these entries and ignores the type filter. Leave empty to browse all entries instead.

## `type` (type: `string`):

Only used when no accessions are provided. Restricts the browse to a single InterPro entry type. Choose 'Any type' to include every entry.

## `maxItems` (type: `integer`):

How many protein families to collect per run.

## Actor input object example

```json
{
  "accessions": [
    "IPR000001",
    "IPR000003",
    "IPR000006"
  ],
  "type": "",
  "maxItems": 10
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "accessions": [
        "IPR000001",
        "IPR000003",
        "IPR000006"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/interpro-protein-families-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "accessions": [
        "IPR000001",
        "IPR000003",
        "IPR000006",
    ],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/interpro-protein-families-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "accessions": [
    "IPR000001",
    "IPR000003",
    "IPR000006"
  ],
  "maxItems": 10
}' |
apify call parseforge/interpro-protein-families-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/interpro-protein-families-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/QYcmBbWsEI2kl6R7j/builds/tUzcOxl7bC0VGIcSp/openapi.json
