{"openapi":"3.2.0","info":{"title":"Web Research API","description":"Extract, summarize, analyze, ask questions about, and translate web content through a simple REST API.","version":"1.0.0"},"servers":[{"url":"https://dxsag.jojapi.net"}],"security":[{"ApiKeyAuth":[]}],"tags":[{"name":"Analysis"}],"x-agent-commerce":{"catalog_url":"https://dxsag.jojapi.net/_jojapi/agent/plans","discovery_url":"https://dxsag.jojapi.net/.well-known/x402","directory_url":"https://agents.jojapi.net/apis/web-research-api","docs":"https://docs.jojapi.com/consumers/agents"},"paths":{"/summarize":{"post":{"operationId":"post_summarize","summary":"summarizeWebpage","description":"get summar from a web page.","tags":["Analysis"],"responses":{"200":{"description":"Webpage successfully summarized","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"url":{"type":"string","format":"uri"},"title":{"type":"string"},"summary":{"type":"string"}}},"examples":{"Example_1":{"value":{"success":true,"url":"","title":"","summary":""}}}}}},"400":{"description":"Invalid or missing URL","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"}}},"examples":{"Example_1":{"value":{"success":true,"error":"Could not process the webpage"}}}}}},"402":{"description":"Payment required — pay per request with x402/mpp (offer in the PAYMENT-REQUIRED / WWW-Authenticate headers and the JSON body), or send a JoJ API key."},"500":{"description":"Unable to summarize webpage","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"}}},"examples":{"Example_1":{"value":{"success":true,"error":"Could not process the webpage"}}}}}}},"x-payment-info":{"protocols":["x402","mpp"],"price":{"mode":"fixed","currency":"USD","amount":"0.07"},"intent":"charge"},"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","description":"The HTTP or HTTPS URL of the webpage to process."}}},"example":{"url":"https://example.com"}}}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-JoJAPI-Key","description":"Your JoJ API key."}}}}