{"uid":"cap_0TZVvomq17v31PPVNnHsQ","slug":"brazil-macro-api-ptax-usd-brl-exchange-rate-10e0cc78","name":"Brazil Macro API – PTAX USD/BRL Exchange Rate","description":"Official PTAX USD/BRL exchange rate, buy and sell.","url":"https://api-macro-br-production.up.railway.app/v1/ptax","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aH27tfQN-v2g3kUsrbE9I","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the official Brazilian Central Bank PTAX USD/BRL exchange rate, including both buy and sell rates.","exampleAgentPrompt":"What is the official Brazilian Central Bank PTAX exchange rate for the US dollar right now — give me both the buy and sell rates?","exampleUseCases":[{"title":"FX reporting for Brazil operations","prompt":"I need to record today's official USD/BRL exchange rate for our Brazilian subsidiary's monthly financial report — can you pull the latest PTAX buy and sell rates from the Central Bank?"},{"title":"Real-time FX alert monitoring","prompt":"Monitor the official PTAX USD/BRL rate and let me know if the sell rate moves above 5.20 today."},{"title":"Cross-border payment FX conversion","prompt":"Before I send a wire transfer to Brazil, what is the official Brazilian Central Bank PTAX sell rate for USD to BRL right now?"}],"resultDescription":"Returns the official PTAX USD/BRL exchange rate as published by the Banco Central do Brasil, including the buy rate (taxa de compra) and sell rate (taxa de venda), along with the reference date/time of the quote.","failureModes":["BCB data source temporarily unavailable — upstream API may return 503 or empty data","Outside Brazilian business hours the PTAX rate may not have been published yet for the day","Network timeout on Railway-hosted infrastructure","Invalid or unsupported HTTP method returns 405"],"whenToPreferThis":"Choose this endpoint when you need the official, authoritative PTAX USD/BRL exchange rate published by the Banco Central do Brasil — especially for regulatory, accounting, tax, or compliance use cases where only the official central bank rate is acceptable. Prefer it over commercial FX APIs when the legal or official rate is required rather than a market mid-rate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:32:57.876Z","isFirstParty":false}