{
  "name": "Zerocost API",
  "version": "v1",
  "openapi": "https://zerocost.app/openapi.json",
  "docs": "https://zerocost.app/docs",
  "auth": "https://zerocost.app/auth.md",
  "oauth": "https://zerocost.app/.well-known/oauth-authorization-server",
  "mcp": "https://zerocost.app/mcp",
  "endpoints": [
    {
      "method": "GET",
      "path": "/api/v1/search?q={query}",
      "auth": "none",
      "description": "Search Zerocost documentation."
    },
    {
      "method": "GET",
      "path": "/api/v1/pricing",
      "auth": "none",
      "description": "Current publisher, advertiser and dataset pricing."
    },
    {
      "method": "GET",
      "path": "/api/v1/pages",
      "auth": "none",
      "description": "Index of public pages."
    },
    {
      "method": "GET",
      "path": "/api/v1/me",
      "auth": "oauth2 profile:read",
      "description": "Profile of the user who authorized the token."
    },
    {
      "method": "GET",
      "path": "/api/v1/me/apps",
      "auth": "oauth2 apps:read",
      "description": "The user's apps and placements."
    },
    {
      "method": "GET",
      "path": "/api/v1/me/earnings",
      "auth": "oauth2 earnings:read",
      "description": "The user's earnings and payouts."
    },
    {
      "method": "GET",
      "path": "/api/v1/me/api-keys",
      "auth": "oauth2 api_keys:read",
      "description": "The user's API keys (masked)."
    },
    {
      "method": "GET",
      "path": "/functions/v1/validate-key",
      "auth": "x-api-key",
      "description": "Validate an SDK API key."
    }
  ]
}