{
  "openapi": "3.0.1",
  "info": {
    "title": "Well-Known Extractor",
    "description": "Probes the domain's .well-known endpoints and returns the body and parsed structure for each.",
    "version": "0.0",
    "x-build-id": "DnhsZn0uGreLcbPUl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vojtam~well-known-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vojtam-well-known-extractor",
        "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/vojtam~well-known-extractor/runs": {
      "post": {
        "operationId": "runs-sync-vojtam-well-known-extractor",
        "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/vojtam~well-known-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-vojtam-well-known-extractor",
        "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": [
          "domains"
        ],
        "properties": {
          "domains": {
            "title": "Domains",
            "type": "array",
            "description": "Domains whose well-known endpoints should be probed (e.g. google.com).",
            "items": {
              "type": "string"
            }
          },
          "profiles": {
            "title": "Endpoint profiles",
            "type": "array",
            "description": "Preset groups of endpoints to probe.",
            "items": {
              "type": "string",
              "enum": [
                "core",
                "security",
                "identity",
                "mobile",
                "email",
                "social",
                "ai",
                "adtech",
                "web",
                "all"
              ],
              "enumTitles": [
                "core — highest-value endpoints (default)",
                "security — security.txt, GPC, DNT policy, OpenPGP WKD",
                "identity — OpenID Connect, OAuth 2.0, JWKS, did:web",
                "mobile — Android app links, Apple universal links, Apple Pay, Microsoft",
                "email — MTA-STS, OpenPGP Web Key Directory",
                "social — NodeInfo, host-meta, WebFinger, Matrix, AT Protocol",
                "ai — A2A agent cards, MCP, ai.txt, llms.txt, AI plugin manifests",
                "adtech — ads.txt, app-ads.txt, sellers.json",
                "web — change-password, Privacy Sandbox, Related Website Sets, CalDAV/CardDAV",
                "all — every endpoint in the registry"
              ]
            },
            "default": [
              "core"
            ]
          },
          "endpoints": {
            "title": "Individual endpoints",
            "type": "array",
            "description": "Specific endpoints to probe, added on top of the selected profiles. Leave empty to use profiles only.",
            "items": {
              "type": "string",
              "enum": [
                "security.txt",
                "gpc.json",
                "dnt-policy.txt",
                "openid-configuration",
                "oauth-authorization-server",
                "oauth-protected-resource",
                "openid-federation",
                "jwks.json",
                "did.json",
                "assetlinks.json",
                "apple-app-site-association",
                "apple-developer-merchantid-domain-association",
                "microsoft-identity-association.json",
                "mta-sts.txt",
                "openpgpkey-policy",
                "nodeinfo",
                "host-meta",
                "host-meta.json",
                "matrix-server",
                "matrix-client",
                "matrix-support",
                "atproto-did",
                "agent-card.json",
                "agent.json",
                "mcp.json",
                "ai.txt",
                "llms.txt",
                "ads.txt",
                "app-ads.txt",
                "sellers.json",
                "traffic-advice",
                "related-website-set.json",
                "privacy-sandbox-attestations.json",
                "web-app-origin-association",
                "discord"
              ],
              "enumTitles": [
                "security.txt — Security contact policy",
                "gpc.json — Global Privacy Control",
                "dnt-policy.txt — Do Not Track policy",
                "openid-configuration — OpenID Connect discovery",
                "oauth-authorization-server — OAuth 2.0 authorization server metadata",
                "oauth-protected-resource — OAuth 2.0 protected resource metadata",
                "openid-federation — OpenID Federation entity statement",
                "jwks.json — JSON Web Key Set",
                "did.json — did:web DID document",
                "assetlinks.json — Android app links",
                "apple-app-site-association — Apple universal links",
                "apple-developer-merchantid-domain-association — Apple Pay merchant domain verification",
                "microsoft-identity-association.json — Microsoft publisher domain verification",
                "mta-sts.txt — MTA-STS policy",
                "openpgpkey-policy — OpenPGP Web Key Directory policy",
                "nodeinfo — NodeInfo discovery",
                "host-meta — Host metadata (XRD)",
                "host-meta.json — Host metadata (JRD)",
                "matrix-server — Matrix server delegation",
                "matrix-client — Matrix client discovery",
                "matrix-support — Matrix server admin contacts",
                "atproto-did — AT Protocol / Bluesky handle",
                "agent-card.json — A2A agent card",
                "agent.json — A2A agent card (legacy path)",
                "mcp.json — MCP server discovery",
                "ai.txt — AI training opt-out policy",
                "llms.txt — LLM-readable site guide",
                "ads.txt — Authorized digital sellers",
                "app-ads.txt — Authorized digital sellers for apps",
                "sellers.json — Authorized sellers inventory",
                "traffic-advice — Private prefetch proxy advice",
                "related-website-set.json — Related Website Set",
                "privacy-sandbox-attestations.json — Privacy Sandbox attestations",
                "web-app-origin-association — Web app scope extensions",
                "discord — Discord domain verification"
              ]
            }
          },
          "includeNotFound": {
            "title": "Include misses in the dataset",
            "type": "boolean",
            "description": "Push a row for endpoints that were absent too. Useful for auditing coverage; off by default to keep the dataset small.",
            "default": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}