{"uid":"cap_YfcPuXRGZikEHogdeTW_H","slug":"br-intelligence-ptax-exchange-rate-api-92c829a4","name":"BR Intelligence PTAX Exchange Rate API","description":"Brazil PTAX exchange rate (official, Central Bank of Brazil): USD/BRL dollar, EUR/BRL euro and other currencies to Brazilian real, buy and sell, closing (Fechamento) and intraday bulletins, today or any past date.","url":"https://br-intelligence.brverify-api.workers.dev/v1/ptax?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":{"date":{"type":"string","description":"Optional YYYY-MM-DD for a historical PTAX (default: today, Brasilia time)."},"currency":{"type":"string","description":"ISO 4217 code: USD (default), EUR, GBP, JPY, CHF, CAD, AUD, ARS..."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["currency","date","latest","unit"],"properties":{"date":{"type":"string","format":"date","description":"Date of the bulletins used (last business day with quotes)."},"unit":{"type":"string"},"latest":{"type":"object","properties":{"buy":{"type":"number","description":"Buy rate (BRL per 1 unit of the currency)."},"sell":{"type":"number","description":"Sell rate (BRL per 1 unit of the currency)."},"time":{"type":"string","description":"Bulletin timestamp, Brasilia time."},"type":{"type":"string","description":"Abertura, Intermediario or Fechamento (closing)."}}},"closing":{"anyOf":[{"type":"object","properties":{"buy":{"type":"number","description":"Buy rate (BRL per 1 unit of the currency)."},"sell":{"type":"number","description":"Sell rate (BRL per 1 unit of the currency)."},"time":{"type":"string","description":"Bulletin timestamp, Brasilia time."},"type":{"type":"string","description":"Abertura, Intermediario or Fechamento (closing)."}}},{"type":"null"}],"description":"Official PTAX of the day (Fechamento bulletin), null before it is published."},"currency":{"type":"string"},"bulletins":{"type":"array","items":{"type":"object","properties":{"buy":{"type":"number","description":"Buy rate (BRL per 1 unit of the currency)."},"sell":{"type":"number","description":"Sell rate (BRL per 1 unit of the currency)."},"time":{"type":"string","description":"Bulletin timestamp, Brasilia time."},"type":{"type":"string","description":"Abertura, Intermediario or Fechamento (closing)."}}}},"requestedDate":{"type":"string","format":"date"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6klggjDajG4Vc2LGa99pl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns official Brazil Central Bank PTAX exchange rates (buy/sell) for USD/BRL, EUR/BRL, and other currencies, for today or any historical date.","exampleAgentPrompt":"What is the official Brazilian Central Bank PTAX closing rate for USD to BRL today? I need both the buy and sell rates.","exampleUseCases":[{"title":"Historical FX rate for accounting","prompt":"I need the official PTAX closing rate for USD to BRL on March 31, 2024 — both buy and sell — for our quarterly financial statements."},{"title":"Real-time EUR/BRL for invoice conversion","prompt":"What is today's official Central Bank of Brazil PTAX rate for euro to Brazilian real? Give me the latest buy and sell rates."},{"title":"Multi-currency treasury check","prompt":"Can you fetch the official Brazilian Central Bank PTAX sell rate for GBP to BRL from last Monday, November 4, 2024?"}],"resultDescription":"Returns the official PTAX exchange rate data from the Brazilian Central Bank, including: the latest available bulletin (buy rate, sell rate, bulletin type, timestamp), the official closing Fechamento rate if already published (or null if not yet), and an array of all intraday bulletins for the requested date. Also returns the currency code, date used, and unit.","failureModes":["No PTAX published for the requested date (e.g. weekend, Brazilian holiday) — returns null or empty bulletins","Unsupported or misspelled currency ISO code returns an error","Future dates return no data","Network timeout or Cloudflare Worker error (HTTP 5xx)","Payment failure via x402 if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need official, Central Bank of Brazil sanctioned PTAX exchange rates for BRL pairs — especially for legal, accounting, tax, or financial compliance use cases in Brazil that require the official Fechamento (closing) rate. Prefer this over commercial FX APIs when the Brazilian legal standard (PTAX) is specifically required, such as for NF-e invoices, tax filings, or government contracts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:30:18.591Z","isFirstParty":false,"canonicalSlug":"br-intelligence-ptax-exchange-rate-api-92c829a4"}