{
  "openapi": "3.1.0",
  "info": {
    "title": "Orbis API Marketplace",
    "version": "1.0.0",
    "description": "API marketplace for the agent era. 24,000+ APIs callable via x402 USDC micropayments on Base — no account, no API key, no human required. Agents discover APIs at /api/v2/x402/discovery/resources and call them at /proxy/{slug}/*.",
    "contact": {
      "name": "Orbis",
      "url": "https://orbisapi.com",
      "email": "orbisapigit@gmail.com"
    },
    "x-guidance": "Orbis is an API marketplace with 24,000+ payable APIs. How to use:\n1. Discover APIs: GET https://orbisapi.com/api/v2/x402/discovery/resources?page=1&limit=100 — returns slugs, names, descriptions, and per-call prices.\n2. Call any API: GET or POST https://orbisapi.com/proxy/{slug}/{path} — the server will respond with 402 and payment instructions.\n3. Pay: Re-send the request with the X-PAYMENT header populated per the x402 protocol (USDC on Base via Coinbase CDP facilitator).\n4. Result: The server verifies the payment and returns the proxied API response.\nAlternatively, use the Orbis LLM Gateway (OpenAI-compatible): POST https://orbisapi.com/proxy/llm-gateway/v1/chat/completions with x402 payment — supports GPT-4o, Claude Opus, Gemini 2.5 Pro, and more.",
    "x-payment-protocols": ["x402"]
  },
  "x-discovery": {
    "ownershipProofs": []
  },
  "servers": [
    { "url": "https://orbisapi.com", "description": "Production" }
  ],
  "security": [],
  "components": {
    "securitySchemes": {
      "x402": {
        "type": "http",
        "scheme": "bearer",
        "description": "x402 payment protocol. Send a request without payment to receive the 402 response with payment instructions, then re-send with the X-PAYMENT header."
      }
    }
  },
  "paths": {
    "/api/v2/x402/discovery/resources": {
      "get": {
        "operationId": "discoverResources",
        "summary": "Discover available APIs",
        "description": "Returns all active APIs on the Orbis marketplace with slugs, names, descriptions, pricing, and categories. Use page + limit to paginate. Each resource URL maps to /proxy/{slug}. This endpoint is free — no payment required.",
        "security": [],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "required": false,
            "schema": { "type": "integer", "default": 1 },
            "description": "Page number (1-indexed)."
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": { "type": "integer", "default": 100, "maximum": 500 },
            "description": "Number of results per page."
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": { "type": "string" },
            "description": "Filter by category slug (e.g. finance-crypto, ai-ml)."
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": { "type": "string" },
            "description": "Full-text search query."
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated list of available APIs with pricing.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "resources": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": { "type": "string", "description": "Full proxy URL — call this endpoint to use the API." },
                          "slug": { "type": "string", "description": "API slug — used in /proxy/{slug}/." },
                          "name": { "type": "string" },
                          "description": { "type": "string" },
                          "category": { "type": "string" },
                          "pricePerCallUsdc": { "type": "string", "description": "Price per call in USDC (e.g. '0.005000')." }
                        }
                      }
                    },
                    "total": { "type": "integer" },
                    "page": { "type": "integer" },
                    "limit": { "type": "integer" }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/proxy/linkedin-profile-data-api-7effb1": {
      "get": {
        "operationId": "linkedinProfileGet",
        "summary": "LinkedIn Profile Data API",
        "security": [{ "x402": [] }],
        "x-payment-info": {
          "price": { "mode": "fixed", "currency": "USD", "amount": "0.005000" },
          "protocols": [{ "x402": { "network": "eip155:8453", "facilitator": "https://x402.org/facilitator" } }]
        },
        "responses": { "200": { "description": "Success" }, "402": { "description": "Payment Required" } }
      },
      "post": {
        "operationId": "linkedinProfilePost",
        "summary": "LinkedIn Profile Data API (POST)",
        "security": [{ "x402": [] }],
        "x-payment-info": {
          "price": { "mode": "fixed", "currency": "USD", "amount": "0.005000" },
          "protocols": [{ "x402": { "network": "eip155:8453", "facilitator": "https://x402.org/facilitator" } }]
        },
        "requestBody": { "required": false, "content": { "application/json": { "schema": { "type": "object" } } } },
        "responses": { "200": { "description": "Success" }, "402": { "description": "Payment Required" } }
      }
    },
    "/proxy/imdb-movie-tv-data-api-184d0b": {
      "get": {
        "operationId": "imdbGet",
        "summary": "IMDb Movie & TV Data API",
        "security": [{ "x402": [] }],
        "x-payment-info": {
          "price": { "mode": "fixed", "currency": "USD", "amount": "0.005000" },
          "protocols": [{ "x402": { "network": "eip155:8453", "facilitator": "https://x402.org/facilitator" } }]
        },
        "responses": { "200": { "description": "Success" }, "402": { "description": "Payment Required" } }
      },
      "post": {
        "operationId": "imdbPost",
        "summary": "IMDb Movie & TV Data API (POST)",
        "security": [{ "x402": [] }],
        "x-payment-info": {
          "price": { "mode": "fixed", "currency": "USD", "amount": "0.005000" },
          "protocols": [{ "x402": { "network": "eip155:8453", "facilitator": "https://x402.org/facilitator" } }]
        },
        "requestBody": { "required": false, "content": { "application/json": { "schema": { "type": "object" } } } },
        "responses": { "200": { "description": "Success" }, "402": { "description": "Payment Required" } }
      }
    },
    "/proxy/email-validator-api-9de953": {
      "get": {
        "operationId": "emailValidatorGet",
        "summary": "Email Validator API",
        "security": [{ "x402": [] }],
        "x-payment-info": {
          "price": { "mode": "fixed", "currency": "USD", "amount": "0.005000" },
          "protocols": [{ "x402": { "network": "eip155:8453", "facilitator": "https://x402.org/facilitator" } }]
        },
        "responses": { "200": { "description": "Success" }, "402": { "description": "Payment Required" } }
      },
      "post": {
        "operationId": "emailValidatorPost",
        "summary": "Email Validator API (POST)",
        "security": [{ "x402": [] }],
        "x-payment-info": {
          "price": { "mode": "fixed", "currency": "USD", "amount": "0.005000" },
          "protocols": [{ "x402": { "network": "eip155:8453", "facilitator": "https://x402.org/facilitator" } }]
        },
        "requestBody": { "required": false, "content": { "application/json": { "schema": { "type": "object" } } } },
        "responses": { "200": { "description": "Success" }, "402": { "description": "Payment Required" } }
      }
    },
    "/proxy/movie-database-api-0d6d62": {
      "get": {
        "operationId": "movieDatabaseGet",
        "summary": "Movie Database API",
        "security": [{ "x402": [] }],
        "x-payment-info": {
          "price": { "mode": "fixed", "currency": "USD", "amount": "0.005000" },
          "protocols": [{ "x402": { "network": "eip155:8453", "facilitator": "https://x402.org/facilitator" } }]
        },
        "responses": { "200": { "description": "Success" }, "402": { "description": "Payment Required" } }
      },
      "post": {
        "operationId": "movieDatabasePost",
        "summary": "Movie Database API (POST)",
        "security": [{ "x402": [] }],
        "x-payment-info": {
          "price": { "mode": "fixed", "currency": "USD", "amount": "0.005000" },
          "protocols": [{ "x402": { "network": "eip155:8453", "facilitator": "https://x402.org/facilitator" } }]
        },
        "requestBody": { "required": false, "content": { "application/json": { "schema": { "type": "object" } } } },
        "responses": { "200": { "description": "Success" }, "402": { "description": "Payment Required" } }
      }
    },
    "/proxy/linkedin-company-data-api-3ab3b7": {
      "get": {
        "operationId": "linkedinCompanyGet",
        "summary": "LinkedIn Company Data API",
        "security": [{ "x402": [] }],
        "x-payment-info": {
          "price": { "mode": "fixed", "currency": "USD", "amount": "0.005000" },
          "protocols": [{ "x402": { "network": "eip155:8453", "facilitator": "https://x402.org/facilitator" } }]
        },
        "responses": { "200": { "description": "Success" }, "402": { "description": "Payment Required" } }
      },
      "post": {
        "operationId": "linkedinCompanyPost",
        "summary": "LinkedIn Company Data API (POST)",
        "security": [{ "x402": [] }],
        "x-payment-info": {
          "price": { "mode": "fixed", "currency": "USD", "amount": "0.005000" },
          "protocols": [{ "x402": { "network": "eip155:8453", "facilitator": "https://x402.org/facilitator" } }]
        },
        "requestBody": { "required": false, "content": { "application/json": { "schema": { "type": "object" } } } },
        "responses": { "200": { "description": "Success" }, "402": { "description": "Payment Required" } }
      }
    },
    "/proxy/llm-gateway/v1/chat/completions": {
      "post": {
        "operationId": "llmGatewayChatCompletions",
        "summary": "LLM Gateway — OpenAI-compatible chat completions",
        "description": "OpenAI-compatible chat completions endpoint. Supports GPT-4o, Claude Opus 4, Gemini 2.5 Pro, Grok 4, and more. Set your OpenAI base URL to https://orbisapi.com/proxy/llm-gateway — pay per call via x402 USDC on Base. No API key or account required.",
        "security": [{ "x402": [] }],
        "x-payment-info": {
          "price": { "mode": "fixed", "currency": "USD", "amount": "0.005000" },
          "protocols": [
            {
              "x402": {
                "network": "eip155:8453",
                "facilitator": "https://x402.org/facilitator"
              }
            }
          ]
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": ["model", "messages"],
                "properties": {
                  "model": { "type": "string", "description": "Model name. Examples: gpt-4o, claude-opus-4, gemini-2.5-pro, grok-4, llama-3.3-70b." },
                  "messages": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "role": { "type": "string", "enum": ["system", "user", "assistant"] },
                        "content": { "type": "string" }
                      }
                    }
                  },
                  "temperature": { "type": "number" },
                  "max_tokens": { "type": "integer" },
                  "stream": { "type": "boolean" }
                }
              },
              "example": {
                "model": "gpt-4o",
                "messages": [{ "role": "user", "content": "Hello!" }]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OpenAI-compatible chat completion response."
          },
          "402": {
            "description": "Payment Required. Re-send with X-PAYMENT header."
          }
        }
      }
    }
  }
}
