{"uid":"cap_qaq5HnDhLeGGCI9qhT2JE","slug":"openapi-swagger-spec-discovery-c2b1b990","name":"OpenAPI / Swagger Spec Discovery","description":"OpenAPI / Swagger discovery: probes the common spec locations (/openapi.json, /swagger.json, /api-docs, /v1/openapi.json, /.well-known/openapi.json...) and any link on the homepage, then summarises the spec: title, version, server URLs, path and operation counts, tags. Find a site's machine-readable API. $0.01 per site.","url":"https://intel.rallylive.ca/site/openapi","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3dKH6ImNuUuq8psQ-chAw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Probes a website's common OpenAPI/Swagger spec locations and homepage links, then summarises the discovered spec including title, version, server URLs, paths, operations, and tags.","exampleAgentPrompt":"Can you check if stripe.com has a publicly accessible OpenAPI or Swagger spec and summarise what you find — title, version, how many paths and operations it has, and what tags are listed?","exampleUseCases":[{"title":"Discover API structure before integration","prompt":"Before I start integrating with api.acme.com, can you check if they have an OpenAPI or Swagger spec available and tell me the title, version, server URLs, and how many endpoints they document?"},{"title":"Audit SaaS tool for machine-readable API","prompt":"I need to know if Linear.app exposes a machine-readable API spec anywhere — check the common locations like /openapi.json, /swagger.json, and the homepage, and tell me what you find."},{"title":"Catalog API tags and operation counts","prompt":"I'm building a directory of developer-friendly APIs — can you probe github.com and give me the OpenAPI spec details: title, version, path count, operation count, and any tags you find?"}],"resultDescription":"A structured summary of the discovered OpenAPI/Swagger specification including: the spec URL where it was found, the API title, version, server URLs, total path count, operation count, and any tags defined in the spec. Returns null or an error if no spec is found.","failureModes":["No spec found at any probed location — site does not expose a public OpenAPI/Swagger spec","Homepage links do not include any API spec reference","Site blocks automated requests, returning 403 or rate-limit errors","Spec URL exists but is malformed or non-standard JSON","Network timeout reaching the target domain","Domain does not resolve or site is offline"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover whether a website has a publicly accessible OpenAPI or Swagger spec, and want a summarised view of its structure (paths, operations, tags) without downloading and parsing the full spec yourself. Prefer this over manual probing or general web crawlers because it checks all standard spec locations plus homepage links in a single call and returns a structured summary ready for agent consumption.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:12:58.051Z","isFirstParty":false}