{"uid":"cap_uqrT_ylDonpaQj9d4uWOy","slug":"agentbodega-x402-directory-package-769c9819","name":"AgentBodega x402 Directory Package","description":"Small x402-payable utility APIs for agents: endpoint inspection, launch checks, and hosted artifacts.","url":"https://agentbodega.store/api/package/x402-directory","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"body":{"fields":[{"name":"url","type":"string","required":true},{"name":"name","type":"string","required":false},{"name":"tags","type":"array","required":false}],"required":["url"],"fieldCount":3,"contentType":"application/json","optionalPreview":["name","tags"],"omittedFieldCount":0},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}}},"output":{"type":"object","properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"files":[{"name":"openapi.json"},{"name":"x402 discovery"}],"listing":{"score":91,"payableResourceCount":12}}},"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_no07OTz3OOoL8GTmlObWa","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":"Inspects a URL and returns a scored x402 directory listing with associated artifact files and payable resource count","exampleAgentPrompt":"Can you inspect https://myagentservice.example.com and give me its x402 directory score — I want to know how many payable resources it has and what artifact files show up in the listing?","exampleUseCases":[{"title":"Pre-launch x402 readiness audit","prompt":"Before I publish my agent API, can you run https://myapi.example.com through the x402 directory check and tell me the listing score and how many payable endpoints it finds?"},{"title":"Cataloging a third-party agent service","prompt":"I want to understand what x402 resources are exposed at https://partnerbot.io — can you fetch its directory listing, score, and any artifact files like openapi.json?"},{"title":"Tagging a service for x402 discovery","prompt":"Submit https://agentbodega.store to the x402 directory with the name 'AgentBodega' and tags ['utility','agents'] and tell me the score it gets back."}],"resultDescription":"Returns a JSON object with a 'files' array listing named artifacts (e.g. openapi.json, x402 discovery) found at the URL, and a 'listing' object containing a numeric score (0–100) and the count of payable resources discovered at that endpoint.","failureModes":["Invalid or unreachable URL returns an error or empty listing","URL does not expose x402-compatible resources, resulting in a low score and zero payable resource count","Malformed request body (missing required 'url' field) returns a validation error","Payment not completed causes request to be rejected before processing","Rate limiting or temporary service unavailability returns a 402 or 5xx response"],"whenToPreferThis":"Choose this endpoint when you need to programmatically inspect and score a URL for x402 compliance and payable resource discovery — especially when building agent directories, auditing APIs for monetization readiness, or cataloging third-party agent services. It is distinct from general API linting tools because it specifically surfaces x402 payment metadata, artifact files, and a readiness score in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:43:19.780Z","isFirstParty":false}