# Apis Guru Openapi Directory Scraper (`zerobreak/apis-guru-openapi-directory-scraper`) Actor

This Actor collects OpenAPI specifications and API metadata from the APIs.guru directory based on search terms, providers, or categories. It extracts API titles, descriptions, provider names, categories, versions, and specification URLs to support API discovery, developer ecosystem research.

- **URL**: https://apify.com/zerobreak/apis-guru-openapi-directory-scraper.md
- **Developed by:** [ZeroBreak](https://apify.com/zerobreak) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 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

### APIs.guru OpenAPI Directory Scraper — Discover API Providers and Specifications

![APIs.guru OpenAPI Directory Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/apis-guru-openapi-directory-scraper-cover.png)

APIs.guru OpenAPI Directory Scraper collects provider information from the public APIs.guru directory. It organizes provider hostnames, available versions, specification details, titles, descriptions, and update information into a structured dataset for research, discovery, and catalog management.

### What It Does

The scraper retrieves provider entries from the APIs.guru directory and collects information about their available specification versions. Each dataset record represents a provider and includes its hostname, provider name, version details, specification download locations, and relevant dates.

### Features

- Collect provider hostnames from the public directory.
- Extract provider names from hostnames.
- Identify the number of available versions.
- Collect available and preferred versions.
- Retrieve API titles and descriptions.
- Capture specification and OpenAPI version information.
- Collect JSON and YAML specification download locations.
- Record provider and version addition or update dates.
- Skip duplicate providers during a run.
- Set a maximum number of records to collect.
- Export results in JSON, CSV, Excel, and other supported formats.

### Scraping Mode

**List:** Collects provider information and available specification metadata from the APIs.guru directory.

### Input Parameters

| Parameter | Description |
|---|---|
| `mode` | Scraping mode. Use `list`. |
| `maxItems` | Maximum number of provider records to collect, up to 1,000. |
| `requestDelayMs` | Delay between requests in milliseconds. Default: `1000`. |

### Input Example

```json
{
  "mode": "list",
  "maxItems": 50,
  "requestDelayMs": 1000
}
```

### Output Fields

| Field | Description |
|---|---|
| `provider` | Provider hostname. |
| `providerName` | Provider name derived from its hostname. |
| `providerDomain` | Provider hostname or domain. |
| `versionCount` | Number of available specification versions. |
| `versions` | List of available version identifiers. |
| `preferredVersion` | Preferred version identified by the directory. |
| `apiTitles` | Titles associated with the provider's specifications. |
| `apiDescriptions` | Descriptions associated with the specifications. |
| `apiVersions` | Version values from specification metadata. |
| `openapiVersions` | OpenAPI specification version identifiers. |
| `swaggerUrls` | JSON specification download locations. |
| `swaggerYamlUrls` | YAML specification download locations. |
| `versionAddedDates` | Dates when specification versions were added. |
| `versionUpdatedDates` | Dates when specification versions were updated. |
| `providerAdded` | Date when the provider was added to the directory. |
| `scrapedAt` | Date and time when the record was collected. |

### Output Example

```json
{
  "provider": "1forge.com",
  "providerName": "1forge",
  "providerDomain": "1forge.com",
  "versionCount": 1,
  "versions": ["0.0.1"],
  "preferredVersion": "0.0.1",
  "apiTitles": ["1Forge Finance API"],
  "apiDescriptions": ["Real-time stock, currency, and cryptocurrency data."],
  "apiVersions": ["0.0.1"],
  "openapiVersions": ["2.0"],
  "swaggerUrls": [
    "https://api.apis.guru/v2/specs/1forge.com/0.0.1/swagger.json"
  ],
  "swaggerYamlUrls": [
    "https://api.apis.guru/v2/specs/1forge.com/0.0.1/swagger.yaml"
  ],
  "versionAddedDates": ["2016-11-21T00:00:00.000Z"],
  "versionUpdatedDates": ["2020-01-01T00:00:00.000Z"],
  "providerAdded": "2016-11-21T00:00:00.000Z",
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

*The output values above illustrate the structure of a collected record.*

### Use Cases

- **Provider Directory Research:** Build a searchable catalog of providers publishing specification documents.
- **Specification Discovery:** Identify available versions and specification download locations.
- **API Catalog Management:** Maintain structured provider and version records.
- **Research Pipelines:** Use provider and specification metadata in further data-processing workflows.
- **Directory Monitoring:** Schedule recurring runs to track changes in provider and version information.
- **Data Analysis:** Export provider metadata for spreadsheets, reporting, and dashboards.

### Exporting Data

All collected records are stored in an Apify dataset. You can export the results in:

- JSON
- CSV
- Excel
- Other supported Apify dataset formats

### FAQ

**What information does this scraper collect?**

It collects provider names and hostnames, available versions, preferred versions, specification titles and descriptions, specification download locations, and version dates.

**Does it download complete specification documents?**

The collected records include JSON and YAML specification download locations. The dataset focuses on provider and specification metadata.

**Can one provider have multiple versions?**

Yes. The scraper includes the available version identifiers and the total version count for each provider.

**Can I run it on a schedule?**

Yes. You can use Apify schedules to refresh the provider directory periodically.

**How many providers can it collect per run?**

You can collect up to 1,000 provider records using `maxItems`.

**What formats are available for export?**

You can export the dataset in JSON, CSV, Excel, and other supported Apify dataset formats.

### Is Web Scraping Legal?

Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

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

What to fetch. List returns provider hostnames from the APIs.guru OpenAPI directory.

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

Stop after this many successful rows. Hard max is 1000.

## `requestDelayMs` (type: `integer`):

Milliseconds to wait between requests. Raise if you see 429.

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

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## `proxyConfiguration` (type: `object`):

Optional proxy. Leave off unless you need it.

## Actor input object example

```json
{
  "mode": "list",
  "maxItems": 100,
  "requestDelayMs": 1000,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset rows in the overview table.

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

Full dataset for this run.

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

Dataset items as JSON.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("zerobreak/apis-guru-openapi-directory-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("zerobreak/apis-guru-openapi-directory-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 '{}' |
apify call zerobreak/apis-guru-openapi-directory-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zerobreak/apis-guru-openapi-directory-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/VzvUMpRPsOk3mml4Y/builds/ilmixvQIK0cJIdIA1/openapi.json
