{
  "openapi": "3.0.1",
  "info": {
    "title": "RapidAPI Hub Scraper: API Listings, Metrics and Developer Data",
    "description": "Extract RapidAPI Hub listings: full developer profiles, pricing models, and popularity, latency, and success rate scores for 40,000+ public APIs. Target exact APIs, providers, categories, or collections, or monitor a category as a recurring change feed. No account needed.",
    "version": "0.3",
    "x-build-id": "yiVR4XbPJqPKKzbi2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/getascraper~rapidapi-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-getascraper-rapidapi-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/getascraper~rapidapi-scraper/runs": {
      "post": {
        "operationId": "runs-sync-getascraper-rapidapi-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/getascraper~rapidapi-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-getascraper-rapidapi-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",
        "properties": {
          "startUrls": {
            "title": "Source URLs",
            "type": "array",
            "description": "Exact RapidAPI Hub URLs to request. Each item may provide inputId in the object form for correlated failures.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listingTargets": {
            "title": "Exact listing targets",
            "type": "array",
            "description": "Exact API IDs, slugs, listing URLs, or objects with apiId, slug, url, and optional inputId. Matching is exact after case normalization.",
            "default": []
          },
          "listingUrls": {
            "title": "Listing URL alias",
            "type": "array",
            "description": "Backward-compatible exact listing URL alias for listingTargets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "listingIds": {
            "title": "Listing ID alias",
            "type": "array",
            "description": "Backward-compatible exact API ID alias for listingTargets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "providerTargets": {
            "title": "Exact provider targets",
            "type": "array",
            "description": "Exact provider username, provider ID, provider URL, or target object. Provider values are matched against source developer/provider fields.",
            "default": []
          },
          "providerUsernames": {
            "title": "Provider username alias",
            "type": "array",
            "description": "Exact provider username alias for providerTargets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "providerIds": {
            "title": "Provider ID alias",
            "type": "array",
            "description": "Exact provider ID alias for providerTargets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "providerUrls": {
            "title": "Provider URL alias",
            "type": "array",
            "description": "Exact provider URL alias for providerTargets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categoryTargets": {
            "title": "Exact category targets",
            "type": "array",
            "description": "Exact source category labels, slugs, category URLs, or target objects. Use categories for the legacy label-only alias.",
            "default": []
          },
          "categoryFilters": {
            "title": "Category filter alias",
            "type": "array",
            "description": "Exact category label alias for categoryTargets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categoryUrls": {
            "title": "Category URL alias",
            "type": "array",
            "description": "Exact category URL alias for categoryTargets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categorySlugs": {
            "title": "Category slug alias",
            "type": "array",
            "description": "Exact category slug alias for categoryTargets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "collectionTargets": {
            "title": "Exact collection targets",
            "type": "array",
            "description": "Exact source collection labels, slugs, collection URLs, or target objects.",
            "default": []
          },
          "collectionFilters": {
            "title": "Collection filter alias",
            "type": "array",
            "description": "Exact collection label alias for collectionTargets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "collectionUrls": {
            "title": "Collection URL alias",
            "type": "array",
            "description": "Exact collection URL alias for collectionTargets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "collectionSlugs": {
            "title": "Collection slug alias",
            "type": "array",
            "description": "Exact collection slug alias for collectionTargets.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Keyword filters",
            "type": "array",
            "description": "Optional client-side keyword filters across source name, title, description, and category fields.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Category labels",
            "type": "array",
            "description": "Legacy exact category-label filter. APIs without a source category do not match.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "collectionsFilter": {
            "title": "Collection labels",
            "type": "array",
            "description": "Legacy exact collection-label filter. APIs without a source collection do not match.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "pricingFilter": {
            "title": "Pricing model",
            "enum": [
              "",
              "FREE",
              "FREEMIUM",
              "PAID"
            ],
            "type": "string",
            "description": "Keep only source-published pricing models.",
            "default": ""
          },
          "minPopularityScore": {
            "title": "Minimum popularity score",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Source-published RapidAPI popularity score lower bound. Missing metrics are excluded when this filter is set.",
            "default": 0
          },
          "minSuccessRate": {
            "title": "Minimum success rate (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Source-published average success rate lower bound. Missing metrics are excluded when this filter is set.",
            "default": 0
          },
          "maxLatency": {
            "title": "Maximum latency (ms)",
            "minimum": 0,
            "type": "number",
            "description": "Source-published average latency upper bound. Missing metrics are excluded when this filter is set.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort field",
            "enum": [
              "api_id",
              "title",
              "category",
              "collection",
              "provider",
              "pricing_model",
              "popularity_score",
              "latency_ms",
              "service_level_percent",
              "success_rate_percent",
              "subscriptions_count",
              "updated_at",
              "endpoint_id",
              "endpoint_route"
            ],
            "type": "string",
            "description": "Source-backed deterministic sort field. Missing values remain last and stable IDs break ties.",
            "default": "api_id"
          },
          "sortOrder": {
            "title": "Sort order",
            "enum": [
              "asc",
              "desc"
            ],
            "type": "string",
            "description": "Ascending or descending deterministic order for the selected source-backed sort field.",
            "default": "asc"
          },
          "detailLevel": {
            "title": "Detail level",
            "enum": [
              "listing",
              "endpoints"
            ],
            "type": "string",
            "description": "listing emits one row per API listing. endpoints follows each listing profile and emits one row per source endpoint.",
            "default": "listing"
          },
          "deepScrape": {
            "title": "Legacy deep scrape alias",
            "type": "boolean",
            "description": "Backward-compatible alias for detailLevel=endpoints.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum API listings",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Bound the number of API listings considered per run. Endpoint mode may return multiple endpoint rows per listing.",
            "default": 100
          },
          "monitorMode": {
            "title": "Monitor mode",
            "enum": [
              "snapshot",
              "changes"
            ],
            "type": "string",
            "description": "snapshot emits the current bounded view. changes emits deltas from the named monitorScope and marks missing records EXPIRED only after complete source coverage.",
            "default": "snapshot"
          },
          "monitorScope": {
            "title": "Monitor Scope",
            "type": "string",
            "description": "Stable state namespace. Required for monitorMode=changes. Use letters, numbers, dots, underscores, colons, or hyphens.",
            "default": "rapidapi-snapshot"
          },
          "includeUnchanged": {
            "title": "Include unchanged",
            "type": "boolean",
            "description": "In changes mode, also emit records classified as UNCHANGED.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy configuration for the public RapidAPI source. Datacenter is the default; use a suitable pool when the source rate-limits.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}