freecurrencyapi
freecurrencyapi provides current and historical exchange rates for a set of world currencies. All endpoints are served over HTTPS and return JSON.…
Finance & banking#currency-exchange
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
freecurrencyapi provides current and historical exchange rates for a set of world currencies. All endpoints are served over HTTPS and return JSON. Authenticate every request with your API key, either as the apikey query parameter or the apikey request header.
HEAD answers 405 (method_not_allowed; Allow names the methods the endpoint takes) on every billed endpoint, without running or billing it. /v1/status and the other free endpoints answer it like GET.
This document is generated from the freecurrencyapi service implementation and is the machine-readable source of truth for the v1 REST API. A human-readable version is available at https://freecurrencyapi.com/docs. freecurrencyapi is the free tier of currencyapi.com — upgrade there for minute-level data, the convert and range endpoints and more currencies.
Endpoints 4
Rates
- GETLatest exchange rates
/v1/latestReturns the latest exchange rates for a base currency (default USD). - GETHistorical exchange rates
/v1/historicalReturns exchange rates for a single past date (default: yesterday). Requesting a range via date_from/date_to is not available on the free plan and returns 403…
Metadata
- GETList supported currencies
/v1/currenciesReturns metadata for the supported currencies, optionally filtered. - GETAccount quota status
/v1/statusReturns your quota usage and the plan of your API key's account. Does not count against your quota.
API details
- Base URL
https://api.freecurrencyapi.com- Authentication
- An API key in the apikey query parameter
An API key in the apikey header - Operations
- 4 operations on 4 pathsGET 4
- Main resources
- Metadata 2Rates 2
- Response formats
application/jsontext/html- Description format
- OpenAPI 3.1.0, API version
1 - Links
- OpenAPI document
How to test the freecurrencyapi in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the freecurrencyapi collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the apikey query parameter. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Latest exchange rates” (GET /v1/latest), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the freecurrencyapi?
freecurrencyapi provides current and historical exchange rates for a set of world currencies. All endpoints are served over HTTPS and return JSON.… It is listed under Finance & banking and has 4 endpoints.
Who publishes the freecurrencyapi?
It is listed from freecurrencyapi.com's public API description (an OpenAPI document), not published by freecurrencyapi.com on Swastik Codes. Anyone who controls freecurrencyapi.com can claim the profile by adding a DNS TXT record.
What is the base URL of the freecurrencyapi?
Requests go to https://api.freecurrencyapi.com. Endpoint paths are added to this base URL.
How do I authenticate with the freecurrencyapi?
It accepts 2 methods: an API key in the apikey query parameter; an API key in the apikey header.
How many endpoints does the freecurrencyapi have?
4 operations on 4 paths (4 GET). The largest groups are Metadata, Rates.
Is forking the freecurrencyapi free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.