{
  "openapi": "3.0.1",
  "info": {
    "title": "Free Public API Directory & Health Checker",
    "description": "Parses the public-apis catalog on GitHub (2,200+ free APIs in 52 categories) into structured records and probes each listed site for HTTP status, latency, redirects and final scheme. Filter by category, keyword, authentication and CORS support.",
    "version": "1.0",
    "x-build-id": "WF1nMjBvw8p6yPia7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/luochengfengqi~free-public-api-directory/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-luochengfengqi-free-public-api-directory",
        "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/luochengfengqi~free-public-api-directory/runs": {
      "post": {
        "operationId": "runs-sync-luochengfengqi-free-public-api-directory",
        "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/luochengfengqi~free-public-api-directory/run-sync": {
      "post": {
        "operationId": "run-sync-luochengfengqi-free-public-api-directory",
        "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": {
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Catalog categories to include, for example 'Weather', 'Finance' or 'Development'. Accepts display names or slugs such as 'science-and-math'. Leave empty to include every category in the catalog.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keyword Filter (OR logic)",
            "type": "array",
            "description": "Optional case-insensitive keywords matched against the API name, description, category and domain. An entry is kept when it matches ANY keyword, for example 'weather', 'exchange rate' or 'books'. Leave empty for no keyword filter.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "authTypes": {
            "title": "Authentication Types",
            "type": "array",
            "description": "Authentication types to include as listed in the catalog: NONE (no authentication), API_KEY, OAUTH, X_MASHAPE_KEY, USER_AGENT or UNKNOWN. Leave empty to include every authentication type.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "checkHealth": {
            "title": "Probe Listed Sites",
            "type": "boolean",
            "description": "When enabled, each selected entry's listed URL is requested and the record gains HTTP status, latency, redirect count, final URL and a HEALTHY, DEGRADED or UNREACHABLE classification. Disable it for a fast catalog-only export.",
            "default": true
          },
          "maxApis": {
            "title": "Max API Records",
            "minimum": 1,
            "maximum": 2500,
            "type": "integer",
            "description": "Maximum number of catalog entries written to the dataset for this run (1 to 2500). Filters and sorting are applied before this limit. The full catalog currently holds about 2,200 entries.",
            "default": 30
          },
          "healthConcurrency": {
            "title": "Health Probe Concurrency",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Maximum number of site probes in flight at the same time (1 to 12). Lower this value when probing large batches to reduce load on the listed sites.",
            "default": 6
          },
          "healthTimeoutSeconds": {
            "title": "Health Probe Timeout (seconds)",
            "minimum": 3,
            "maximum": 30,
            "type": "integer",
            "description": "Timeout for each individual probe request in seconds (3 to 30). Sites that do not answer within this window are reported as UNREACHABLE.",
            "default": 10
          },
          "httpsOnly": {
            "title": "HTTPS-Supporting Entries Only",
            "type": "boolean",
            "description": "When enabled, only entries whose catalog row states HTTPS support are returned. This uses the value listed in the catalog, not the probed result.",
            "default": false
          },
          "corsSupport": {
            "title": "CORS Support Listed in Catalog",
            "enum": [
              "ANY",
              "YES",
              "NO",
              "UNKNOWN"
            ],
            "type": "string",
            "description": "Filter on the CORS value stated in the catalog: ANY keeps every entry, YES, NO and UNKNOWN keep only entries with that listed value.",
            "default": "ANY"
          },
          "includeSponsored": {
            "title": "Include Sponsored Catalog Section",
            "type": "boolean",
            "description": "When enabled, the sponsored APILayer section at the top of the catalog is included. Those rows carry no Auth, HTTPS or CORS values, so their fields are reported as UNKNOWN.",
            "default": false
          },
          "sortBy": {
            "title": "Sort Order",
            "enum": [
              "LIST_ORDER",
              "NAME",
              "CATEGORY",
              "FASTEST"
            ],
            "type": "string",
            "description": "Order of the returned records: LIST_ORDER keeps the catalog order, NAME and CATEGORY sort before the record limit is applied, FASTEST sorts probed records by measured latency after probing.",
            "default": "LIST_ORDER"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}