{
  "openapi": "3.0.1",
  "info": {
    "title": "SEO Metadata Extractor — OG, JSON-LD, Twitter",
    "description": "Bulk extract Open Graph, Twitter Cards, JSON-LD, microdata, RDFa and basic meta tags from a URL list. Pure structured JSON — not an SEO audit score. Chain from sitemap / URL status. Default 256 MB. No browser, no AI keys.",
    "version": "0.1",
    "x-build-id": "zyUCeBZo0jmz25Gm4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ingenious_quip_bxq~seo-metadata-extract/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ingenious_quip_bxq-seo-metadata-extract",
        "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/ingenious_quip_bxq~seo-metadata-extract/runs": {
      "post": {
        "operationId": "runs-sync-ingenious_quip_bxq-seo-metadata-extract",
        "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/ingenious_quip_bxq~seo-metadata-extract/run-sync": {
      "post": {
        "operationId": "run-sync-ingenious_quip_bxq-seo-metadata-extract",
        "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": {
          "urls": {
            "title": "URLs to extract",
            "type": "array",
            "description": "One or more URLs. Accepts `{\"url\": \"...\"}` objects (same shape as Sitemap Actor dataset rows and DOC_TO_MARKDOWN_INPUT). You can also paste plain URL strings or use a remote text list (`requestsFromUrl`).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "datasetId": {
            "title": "Source dataset ID",
            "type": "string",
            "description": "Optional. Apify dataset ID from another Actor run (e.g. Sitemap URL Extractor or URL Status Checker). Reads the `url` field from each item. Combined with `urls` if both are set."
          },
          "keyValueStoreId": {
            "title": "Source key-value store ID",
            "type": "string",
            "description": "Optional. Apify key-value store ID. Used with Record key below to load a JSON list such as DOC_TO_MARKDOWN_INPUT (`{\"urls\":[{\"url\":...}]}`) or a plain URL array."
          },
          "keyValueRecordKey": {
            "title": "Record key",
            "type": "string",
            "description": "Key inside the source key-value store (e.g. `DOC_TO_MARKDOWN_INPUT`). Ignored unless a store ID is set.",
            "default": "DOC_TO_MARKDOWN_INPUT"
          },
          "maxUrls": {
            "title": "Max URLs",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after extracting this many unique URLs (0 = no limit). Also caps cost.",
            "default": 500
          },
          "maxHtmlBytes": {
            "title": "Max HTML bytes per page",
            "minimum": 65536,
            "maximum": 10485760,
            "type": "integer",
            "description": "Truncate the response body after this many bytes before parsing (guards memory). Metadata is usually in the first few hundred KB.",
            "default": 2097152
          },
          "extractOpenGraph": {
            "title": "Extract Open Graph",
            "type": "boolean",
            "description": "Parse `og:*` properties (via extruct).",
            "default": true
          },
          "extractTwitter": {
            "title": "Extract Twitter Cards",
            "type": "boolean",
            "description": "Parse `twitter:*` meta tags.",
            "default": true
          },
          "extractJsonLd": {
            "title": "Extract JSON-LD",
            "type": "boolean",
            "description": "Parse `<script type=\"application/ld+json\">` blocks (Schema.org and others).",
            "default": true
          },
          "extractMicrodata": {
            "title": "Extract microdata",
            "type": "boolean",
            "description": "Parse HTML microdata (`itemscope` / `itemprop`).",
            "default": true
          },
          "extractRdfa": {
            "title": "Extract RDFa",
            "type": "boolean",
            "description": "Parse RDFa attributes. Turn off if you only need OG / Twitter / JSON-LD (slightly faster).",
            "default": false
          },
          "extractBasicMeta": {
            "title": "Extract basic meta",
            "type": "boolean",
            "description": "Parse `<title>`, meta description / keywords / robots, and `<link rel=\"canonical\">`.",
            "default": true
          },
          "chargeFailedUrls": {
            "title": "Charge failed URLs",
            "type": "boolean",
            "description": "When false (default), only ok/partial rows are billed. When true, every attempted URL that produced a dataset row is billed once (including network/HTTP errors).",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 40,
            "type": "integer",
            "description": "Parallel fetches overall.",
            "default": 6
          },
          "maxConcurrencyPerHost": {
            "title": "Max concurrency per host",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel fetches to any single host.",
            "default": 2
          },
          "minDelayMsPerHost": {
            "title": "Min delay per host (ms)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Minimum milliseconds between starting requests to the same host. 0 = no extra delay.",
            "default": 0
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Timeout for each HTTP request (connect + read).",
            "default": 25
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Retries for timeouts, network blips, HTTP 429 and selected 5xx (exponential backoff). DNS and certificate failures are not retried.",
            "default": 2
          },
          "userAgent": {
            "title": "User-Agent",
            "type": "string",
            "description": "Optional custom User-Agent header."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Use a proxy if a site blocks data-center IPs. Not needed for most public sites.",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}