Economia.Awesome API

⭐ Beginner's Pick Currency Exchange / No Auth Required Beginner HTTPS
Free to Use Varies (check documentation)

Overview

Economia.Awesome is a free Brazilian API that provides real-time and historical currency exchange rates for dozens of currency pairs, including BRL (Brazilian Real) against USD, EUR, BTC, and more. It requires no authentication and imposes no rate limits, making it ideal for high-frequency or hobby projects. The API returns structured JSON with bid, ask, and timestamp fields for each currency pair.

💡

Beginner Tip

No API key needed — just call the endpoint directly. The base URL is `https://economia.awesomeapi.com.br/last/USD-BRL` to get USD to BRL. Swap the currency codes for other pairs (e.g., `EUR-USD`). The response uses `bid` for the current sell price and `ask` for buy price.

Available Data

exchange rate between currencies
conversion result
supported currency list
historical rates

Example Response

JSON Response
{
  "base": "USD",
  "date": "2025-01-15",
  "rates": {
    "EUR": 0.92,
    "GBP": 0.79,
    "JPY": 149.5,
    "CAD": 1.35
  }
}

Field Reference

bid The current buy price for the currency pair (how much BRL to buy 1 USD).
ask The current sell price for the currency pair.
high The highest rate recorded in the last 24 hours.
low The lowest rate recorded in the last 24 hours.
timestamp Unix timestamp (seconds) of the last rate update.
create_date Human-readable datetime string of when the rate was recorded.

Implementation Example

const url = "https://docs.awesomeapi.com.br/api-de-moedas";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

404 Not Found Using an unsupported or misspelled currency pair code (e.g., `USD-XYZ`).
Check the list of supported pairs at `https://economia.awesomeapi.com.br/xml/available` and use exact codes.
Empty or unexpected JSON structure Calling the docs URL (docs.awesomeapi.com.br) instead of the actual API endpoint.
Use `https://economia.awesomeapi.com.br/last/USD-BRL` as the real endpoint, not the docs page.
CORS error in browser Some environments block cross-origin requests even to no-auth APIs.
The API supports CORS for most endpoints. If blocked, proxy the request through your server or use a CORS proxy in development.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 20/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 152ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →