# RapidAPI Hub Scraper (`crawlerbros/rapidapi-hub-scraper`) Actor

Scrape the RapidAPI Hub - search public APIs, browse by category, list a provider's published APIs, or fetch a single API's detail (pricing model, category, popularity/latency/success-rate scores). No auth, no proxy required.

- **URL**: https://apify.com/crawlerbros/rapidapi-hub-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Developer tools, Automation, Integrations
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

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

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## RapidAPI Hub Scraper

Scrape the [RapidAPI Hub](https://rapidapi.com/hub) — the largest API marketplace, listing 40,000+ public APIs across Data, AI/ML, Finance, Social, Travel, and dozens more categories. Search by keyword, browse by category, list everything a given provider has published, or fetch one API by ID. No auth, no API key, no proxy required.

### What this actor does

- **Four modes:** `search`, `byCategory`, `byProvider`, `byId`
- **Search** across 40,000+ APIs by free-text query, with category and pricing filters
- **Browse** any of RapidAPI's 52 hub categories
- **List** every public API published by a given provider (individual or organization)
- **Lookup** a single API by its internal ID for a detail record
- **Reliability & popularity scores** on every API: popularity, avg latency, avg success rate, avg service level
- **Empty fields are omitted**

### Output per API

- `name`, `description`, `longDescription` (`byProvider`/`byId` modes only)
- `websiteUrl` — the API provider's own website (`byProvider`/`byId` modes only)
- `category`
- `provider`, `providerHandle`, `providerType` (`User` or `Organization`)
- `pricingModel` — `FREE`, `FREEMIUM`, or `PAID`
- `popularityScore` (0–10), `avgLatencyMs`, `avgServiceLevel` (%), `avgSuccessRate` (%)
- `apiType` — e.g. `rest`, `graphql`, `soap`
- `verified` — `true` if RapidAPI has tagged the API with its verification checkmark badge
- `officialPartner` — `true` if RapidAPI has tagged the API as an official partner integration
- `thumbnail`
- `apiId`, `apiSlug`
- `updatedAt`
- `sourceUrl` — canonical rapidapi.com detail page
- `recordType: "rapidApiHubItem"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` / `byCategory` / `byProvider` / `byId` |
| `searchQuery` | string | – (prefill `weather`) | Free-text query (mode=search); optional if `category`/`pricingModel` supplied instead |
| `category` | string | – | Restrict to one hub category (search filter, or required for byCategory — defaults to `Data`) |
| `pricingModel` | string | `any` | `any` / `FREE` / `FREEMIUM` / `PAID` |
| `providerHandle` | string | – | Provider username/handle, e.g. `weatherapi` (mode=byProvider) |
| `providerType` | string | `User` | `User` or `Organization` (auto-retries the other type on 0 results) |
| `apiId` | string | – | RapidAPI internal API ID (mode=byId), from another mode's `apiId` field |
| `minPopularityScore` | number | – | Drop APIs with popularity below this (0–10) |
| `maxItems` | int | `30` | Hard cap (1–500) |

#### Example: free LinkedIn-data APIs

```json
{
  "mode": "search",
  "searchQuery": "linkedin",
  "pricingModel": "FREE",
  "maxItems": 30
}
````

#### Example: browse the AI/ML category

```json
{
  "mode": "byCategory",
  "category": "Artificial Intelligence/Machine Learning",
  "maxItems": 50
}
```

#### Example: everything WeatherAPI.com has published

```json
{
  "mode": "byProvider",
  "providerHandle": "weatherapi",
  "providerType": "User"
}
```

### Use cases

- **API sourcing** — find a reliable weather/payments/social API before integrating one into your product
- **Competitive intelligence** — see how many APIs a competitor provider has published and how they're priced
- **Market mapping** — enumerate every provider in a category (e.g. all LinkedIn-scraping APIs) with reliability scores
- **Pricing research** — compare FREE vs FREEMIUM vs PAID distribution within a category
- **Reliability due-diligence** — check `avgSuccessRate`/`avgLatencyMs` before committing to an API dependency

### FAQ

**What's the RapidAPI Hub?** A marketplace where developers publish and monetize APIs; other developers subscribe through RapidAPI's unified gateway. See [rapidapi.com/hub](https://rapidapi.com/hub).

**Do I need a RapidAPI account or API key?** No. All data comes from RapidAPI's own public, unauthenticated GraphQL endpoint — the same one the rapidapi.com website itself calls to render search/browse pages.

**What does `pricingModel` mean?** `FREE` — no paid tier exists. `FREEMIUM` — a free tier plus paid tiers for higher volume/features. `PAID` — subscription required from the first call. The actor reports what RapidAPI itself shows; it does not scrape per-tier dollar amounts.

**What's `popularityScore`?** RapidAPI's own 0–10 ranking signal, factoring in subscriber/install counts.

**How do I get an `apiId` for mode=byId?** Run `search` or `byCategory` first — every result record includes an `apiId` field you can feed back in.

**Why do some categories look duplicated (e.g. "Travel" and "Travel, Transportation")?** RapidAPI's own category taxonomy has some overlapping/legacy labels; the actor exposes the real values exactly as the Hub returns them rather than silently merging them.

**How fresh is the data?** Real-time — every mode reads directly from RapidAPI's live GraphQL API.

# Actor input Schema

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

What to fetch.

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

Free-text query (mode=search). Matches API names and descriptions. Optional if `category` and/or `pricingModel` are supplied instead — mode=search then behaves like an unfiltered-by-keyword browse (same as mode=byCategory, but also honoring `pricingModel`). Leave blank with no other filters and the actor falls back to a sensible default query so the daily test always returns data.

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

Restrict results to one RapidAPI Hub category (mode=search filter, or required-ish for mode=byCategory — defaults to Data).

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

Filter by pricing model.

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

RapidAPI provider username/handle as it appears in the URL, e.g. `weatherapi` for rapidapi.com/weatherapi.

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

Whether the handle belongs to an individual user or an organization/team. The actor auto-retries the other type if the first lookup returns nothing.

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

RapidAPI internal API ID, e.g. `api_a177b595-95c3-493e-ab0d-fb3e719dac07` — obtained from the `apiId` field of `search`/`byCategory`/`byProvider` results.

## `minPopularityScore` (type: `number`):

Drop APIs with a popularity score below this (0-10 scale).

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

Hard cap on emitted records.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "weather",
  "pricingModel": "any",
  "providerHandle": "weatherapi",
  "providerType": "User",
  "maxItems": 30
}
```

# Actor output Schema

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

Dataset containing all scraped RapidAPI Hub APIs.

# 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 = {
    "mode": "search",
    "searchQuery": "weather",
    "pricingModel": "any",
    "providerHandle": "weatherapi",
    "providerType": "User",
    "maxItems": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/rapidapi-hub-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 = {
    "mode": "search",
    "searchQuery": "weather",
    "pricingModel": "any",
    "providerHandle": "weatherapi",
    "providerType": "User",
    "maxItems": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/rapidapi-hub-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "mode": "search",
  "searchQuery": "weather",
  "pricingModel": "any",
  "providerHandle": "weatherapi",
  "providerType": "User",
  "maxItems": 30
}' |
apify call crawlerbros/rapidapi-hub-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=crawlerbros/rapidapi-hub-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "RapidAPI Hub Scraper",
        "description": "Scrape the RapidAPI Hub - search public APIs, browse by category, list a provider's published APIs, or fetch a single API's detail (pricing model, category, popularity/latency/success-rate scores). No auth, no proxy required.",
        "version": "1.0",
        "x-build-id": "2gyBDRszoASx4Dee3"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/crawlerbros~rapidapi-hub-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-crawlerbros-rapidapi-hub-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/crawlerbros~rapidapi-hub-scraper/runs": {
            "post": {
                "operationId": "runs-sync-crawlerbros-rapidapi-hub-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/crawlerbros~rapidapi-hub-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-crawlerbros-rapidapi-hub-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search",
                            "byCategory",
                            "byProvider",
                            "byId"
                        ],
                        "type": "string",
                        "description": "What to fetch.",
                        "default": "search"
                    },
                    "searchQuery": {
                        "title": "Search query",
                        "type": "string",
                        "description": "Free-text query (mode=search). Matches API names and descriptions. Optional if `category` and/or `pricingModel` are supplied instead — mode=search then behaves like an unfiltered-by-keyword browse (same as mode=byCategory, but also honoring `pricingModel`). Leave blank with no other filters and the actor falls back to a sensible default query so the daily test always returns data."
                    },
                    "category": {
                        "title": "Category",
                        "enum": [
                            "Advertising",
                            "Artificial Intelligence/Machine Learning",
                            "Business",
                            "Business Software",
                            "Commerce",
                            "Communication",
                            "Cryptography",
                            "Cybersecurity",
                            "Data",
                            "Database",
                            "Devices",
                            "eCommerce",
                            "Education",
                            "Email",
                            "Energy",
                            "Entertainment",
                            "Events",
                            "Finance",
                            "Financial",
                            "Food",
                            "Gaming",
                            "Health and Fitness",
                            "Health, Fitness",
                            "Jobs",
                            "Location",
                            "Logistics",
                            "Machine Learning",
                            "Mapping",
                            "Media",
                            "Medical",
                            "Monitoring",
                            "Movies",
                            "Music",
                            "News, Media",
                            "Other",
                            "Payments",
                            "Reward",
                            "Science",
                            "Search",
                            "SMS",
                            "Social",
                            "Sports",
                            "Storage",
                            "Text Analysis",
                            "Tools",
                            "Translation",
                            "Transportation",
                            "Travel",
                            "Travel, Transportation",
                            "Video, Images",
                            "Visual Recognition",
                            "Weather"
                        ],
                        "type": "string",
                        "description": "Restrict results to one RapidAPI Hub category (mode=search filter, or required-ish for mode=byCategory — defaults to Data)."
                    },
                    "pricingModel": {
                        "title": "Pricing model",
                        "enum": [
                            "any",
                            "FREE",
                            "FREEMIUM",
                            "PAID"
                        ],
                        "type": "string",
                        "description": "Filter by pricing model.",
                        "default": "any"
                    },
                    "providerHandle": {
                        "title": "Provider handle (mode=byProvider)",
                        "type": "string",
                        "description": "RapidAPI provider username/handle as it appears in the URL, e.g. `weatherapi` for rapidapi.com/weatherapi."
                    },
                    "providerType": {
                        "title": "Provider type (mode=byProvider)",
                        "enum": [
                            "User",
                            "Organization"
                        ],
                        "type": "string",
                        "description": "Whether the handle belongs to an individual user or an organization/team. The actor auto-retries the other type if the first lookup returns nothing.",
                        "default": "User"
                    },
                    "apiId": {
                        "title": "API ID (mode=byId)",
                        "type": "string",
                        "description": "RapidAPI internal API ID, e.g. `api_a177b595-95c3-493e-ab0d-fb3e719dac07` — obtained from the `apiId` field of `search`/`byCategory`/`byProvider` results."
                    },
                    "minPopularityScore": {
                        "title": "Min popularity score",
                        "minimum": 0,
                        "maximum": 10,
                        "type": "number",
                        "description": "Drop APIs with a popularity score below this (0-10 scale)."
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Hard cap on emitted records.",
                        "default": 30
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
