{"openapi":"3.0.3","info":{"title":"OCTA / VALLEC x402 Data API","version":"1.0.0","contact":{"email":"vallecexport@gmail.com"},"x-guidance":"Paid per-call data endpoints for AI agents, settled in USDC on Base via x402. Call any path without payment to receive a 402 challenge with exact pricing; pay and retry to get the data. Sales dashboard: https://octa-x402-api.bmizku.workers.dev/painel"},"paths":{"/api/radar/ofertas":{"get":{"operationId":"radar_ofertas","summary":"OCTA affiliate offers radar - real curated marketplace offers (Mercado Livre, Shopee, Amazon Brazil)","x-payment-info":{"protocols":[{"scheme":"exact","network":"eip155:8453","payTo":"0x6405A81e8D4594C25Fcc658B2D9a7A40E740e771"},{"scheme":"exact","network":"eip155:137","payTo":"0x6405A81e8D4594C25Fcc658B2D9a7A40E740e771"},{"scheme":"exact","network":"eip155:42161","payTo":"0x6405A81e8D4594C25Fcc658B2D9a7A40E740e771"},{"scheme":"exact","network":"eip155:43114","payTo":"0x6405A81e8D4594C25Fcc658B2D9a7A40E740e771"},{"scheme":"exact","network":"eip155:143","payTo":"0x6405A81e8D4594C25Fcc658B2D9a7A40E740e771"}],"price":{"mode":"fixed","currency":"USD","amount":"0.05"}},"responses":{"200":{"description":"Top offers JSON","content":{"application/json":{"schema":{"type":"object","properties":{"fonte":{"type":"string"},"gerado_em":{"type":"string"},"total_fonte":{"type":"number"},"ofertas":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"produto":{"type":"string"},"url":{"type":"string"},"segmento":{"type":"string"},"fonte":{"type":"string"},"status":{"type":"string"}}}}},"required":["ofertas"]}}}},"402":{"description":"Payment Required"}}}},"/api/commodities/ic45":{"get":{"operationId":"commodities_ic45","summary":"ICUMSA 45 sugar price reference and VALLEC EXPORT commodity indices (dated real data)","x-payment-info":{"protocols":[{"scheme":"exact","network":"eip155:8453","payTo":"0x6405A81e8D4594C25Fcc658B2D9a7A40E740e771"},{"scheme":"exact","network":"eip155:137","payTo":"0x6405A81e8D4594C25Fcc658B2D9a7A40E740e771"},{"scheme":"exact","network":"eip155:42161","payTo":"0x6405A81e8D4594C25Fcc658B2D9a7A40E740e771"},{"scheme":"exact","network":"eip155:43114","payTo":"0x6405A81e8D4594C25Fcc658B2D9a7A40E740e771"},{"scheme":"exact","network":"eip155:143","payTo":"0x6405A81e8D4594C25Fcc658B2D9a7A40E740e771"}],"price":{"mode":"fixed","currency":"USD","amount":"0.05"}},"responses":{"200":{"description":"Commodity reference JSON","content":{"application/json":{"schema":{"type":"object","properties":{"commodity":{"type":"string"},"referencia":{"type":"string"},"preco_usd_ton":{"type":"number"},"data_referencia":{"type":"string"},"fonte":{"type":"string"}},"required":["commodity","preco_usd_ton","data_referencia"]}}}},"402":{"description":"Payment Required"}}}},"/api/health":{"get":{"operationId":"health","summary":"Service health check","security":[],"responses":{"200":{"description":"OK"}}}}}}