{"uid":"cap_d4UHmHLmciJMSB_RXCHtn","slug":"agentshop-basic-sanitation-access-macroeconomic-report-0118b0fd","name":"Agentshop — Basic Sanitation Access Macroeconomic Report","description":"Machine-to-machine macroeconomic report API. Pay per fetch in USDC over x402. No accounts, no API keys.","url":"https://reportbazaar.app.workbuddy.host/report/macro-sanitation?utm_source=zero.xyz","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":{"format":{"enum":["html","json","csv","summary-csv"],"type":"string","description":"Delivery format. csv is a tidy long panel; summary-csv is one row per economy of derived metrics."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"years":"2015:2025","schema":"/schema/report.json","formats":["html","json","csv","summary-csv"],"contains":["key findings","ranking table","share of group total","trend with R²","volatility","full year-by-year matrix","coverage and data-quality disclosure"],"economies":20,"indicators":["SH.STA.BASS.ZS"],"contentType":"text/html","description":"Basic Sanitation Access Report","freePreview":"/preview/macro-sanitation","indicatorsLabel":["People using at least basic sanitation services (% of population)"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.08","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.08/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.08","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_5G4_TptBSzo_TnN0_I3lp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.08","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a pay-per-call macroeconomic report on basic sanitation services access (% of population) across 20 economies from 2015–2025, delivered in HTML, JSON, CSV, or summary-CSV format via x402 micropayment.","exampleAgentPrompt":"Pull me the latest basic sanitation access report covering 20 economies from 2015 to 2025 — I want it as a JSON so I can parse the rankings and trend data programmatically.","exampleUseCases":[{"title":"Global sanitation ranking for ESG research","prompt":"Give me a ranked table of the 20 economies by basic sanitation access rate, including trend direction and volatility, formatted as JSON — I'm doing ESG benchmarking work."},{"title":"CSV export for data pipeline ingestion","prompt":"Fetch the sanitation access report as a tidy long-panel CSV so I can load it into our analytics pipeline — I need the full year-by-year data from 2015 to 2025."},{"title":"Summarized per-economy sanitation metrics","prompt":"Get me the summary-CSV version of the sanitation access report — just one row per economy with the derived metrics, I want a quick overview without all the raw yearly data."}],"resultDescription":"Returns a report on the World Bank indicator SH.STA.BASS.ZS (people using at least basic sanitation services, % of population) across 20 economies from 2015 to 2025. Includes key findings, a ranking table, share of group totals, trend analysis with R², volatility scores, a full year-by-year data matrix, and coverage/data-quality disclosures. Deliverable in HTML, JSON, CSV, or summary-CSV format.","failureModes":["Payment not made or x402 payment rejected — returns 402 Payment Required","Invalid format query parameter value — returns 400 Bad Request","Upstream data unavailable or report generation failure — returns 500 Internal Server Error","Network timeout if payment settlement is slow"],"whenToPreferThis":"Choose this endpoint when you need structured, ranked, trend-analyzed macroeconomic data on basic sanitation access across 20 economies without API key setup or account registration. It is ideal for agent workflows that can handle x402 micropayments in USDC and need machine-readable output (JSON or CSV) suitable for downstream analysis or reporting pipelines. Prefer over general data APIs when you need pre-computed trend lines, R², volatility, and key findings in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:47:19.868Z","isFirstParty":false,"canonicalSlug":"agentshop-basic-sanitation-access-macroeconomic-report-0118b0fd"}