# RapidAPI

API key

Rate-API can be listed on the RapidAPI marketplace for developer discovery. Import our OpenAPI spec and map RapidAPI tiers to plans.

[API reference](/content/docs/api/index.html)

## Examples

`GET /latest?base=USD``GET /convert?from=USD&to=EUR&amount=100``GET /pair/USD/EUR`

## Setup

1. 1

### Create the API on RapidAPI

In the RapidAPI provider dashboard: Add New API → Create API → Import from OpenAPI, and use our spec.

```
https://rate-api.com/openapi.json
```

2. 2

### Pass the key through

Configure a required header X-API-Key so each subscriber supplies their Rate-API key. Map RapidAPI tiers (Basic/Pro/Ultra/Mega) to the Free/Pro/Business/Enterprise plans.

3. 3

### Optional: secure the origin

Verify RapidAPI's per-API X-RapidAPI-Proxy-Secret header on the listed routes so marketplace traffic can't bypass metering. Details in the repo under integrations/rapidapi.
