{"uid":"cap_d5mWi0iw413mCq8385sWn","slug":"agent-preflight-api-discovery-090d9126","name":"Agent Preflight — API Discovery","description":"Paid URL analysis, CAPTCHA and login detection, API discovery, product intelligence, change monitoring, and batch preflight for AI agents and agent swarms.","url":"https://preflight.lorensaisolutions.com/v1/api-discovery","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"finalUrl":"https://example.com/","pageType":"website","reachable":true,"riskFlags":[],"confidence":0.92,"httpStatus":200,"contentType":"text/html","loginRequired":false,"captchaPresent":false,"browserRequired":false,"recommendedAction":"Use direct fetch","botProtectionPresent":false,"directFetchSufficient":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Qswo4CqqvYArY_DIN_Nuh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Inspects a given URL to detect API documentation, determine page type, assess automation difficulty, and recommend the best integration method for AI agents.","exampleAgentPrompt":"Can you check whether https://api.example.com/docs has any API documentation I can use, and tell me the best way to integrate with it — I'm planning to use it for research purposes?","exampleUseCases":null,"resultDescription":"Returns a JSON object indicating whether API documentation was detected at the URL, the recommended integration method (e.g. 'use_api_or_fetch'), page type classification, reachability status, automation difficulty rating, presence of structured data, risk flags, action links, a confidence score, latency in milliseconds, and a unique request ID.","failureModes":["URL is unreachable — reachable field returns false, no further analysis available","Invalid or malformed URL input — schema validation error before request is made","Target site returns non-standard response that reduces confidence score","Rate limiting or network timeout on the target URL causing incomplete analysis","CAPTCHA or bot-detection on target URL may limit depth of analysis"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically determine whether a target URL exposes an API, how best to integrate with it, and how difficult automation would be — especially before investing resources in scraping or integration. Prefer this over generic HTTP HEAD checks or manual inspection when you need structured intelligence about API discoverability and integration strategy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:39:40.340Z","isFirstParty":false}