updatedAt: 2026-12-01

# REST API overview

Authenticate with an API key, call the Award Travel Finder REST API, and handle responses, errors and rate limits.

The Award Travel Finder REST API returns award availability and pricing as JSON for 46 airline programmes, plus an agent API for self-signup and account data. The base URL is:

```text
https://awardtravelfinder.com/api/v1
```

The same API is described by an [OpenAPI spec](https://awardtravelfinder.com/docs/api/openapi), and every route below is generated from the live routes, so these pages match the API.

## Authentication

Send your API key in the `X-API-Key` header, or as `Authorization: Bearer YOUR_API_KEY`. Signed-in users find their key on the [API key page](https://awardtravelfinder.com/developers/api-key). An agent can create a free account and get a key with one call to [`POST /api/v1/agent/register`](https://awardtravelfinder.com/docs/api/agent).

```bash
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://awardtravelfinder.com/api/v1/agent/me"
```

A missing key returns `401` with `{"error": "API key required"}`. An unknown key, or an account without API access, returns `401` with `{"error": "Invalid API key or user not authorized for API access"}`.

The API key works for the REST API only. The [MCP server](https://awardtravelfinder.com/docs/mcp) signs in with OAuth.

## Responses

Successful calls return `200` with:

```json
{
  "success": true,
  "data": {
    "...": "endpoint specific"
  },
  "usage": {
    "tier": "paid",
    "plan": null,
    "cabin_access": "all",
    "remaining_calls": 149,
    "monthly_limit": 150,
    "period": "monthly",
    "reset_at": "2027-01-01T00:00:00Z"
  }
}
```

`usage` shows the plan, the calls left in your allowance and when it resets. Errors return `{"success": false, "error": "..."}` or, for authentication and limits, an `error` field alone, with a 4xx or 5xx status.

## Errors

| Status | Meaning | What to do |
| --- | --- | --- |
| `400` | A required parameter is missing. The body lists them in `missing`. | Add the parameters and retry. |
| `401` | The API key is missing, unknown or not allowed to use the API. | Check the `X-API-Key` header. |
| `202` | The search has not finished yet, or a background search was started. The body has `status: "pending"` and `retry_after`. | Wait `Retry-After` seconds and send the same request again. A pending search is not the same as no seats. |
| `429` | A rate limit, concurrency limit or monthly allowance was reached. | For rate and concurrency limits, wait `Retry-After` seconds. For the monthly allowance, see [Plans and limits](https://awardtravelfinder.com/docs/plans). |
| `503` | The airline's availability could not be retrieved right now. The body has `source_unavailable: true` and often `retry_after`. | Retry after `Retry-After` seconds. This is not a statement about seat availability. |

## Rate limits

Calls are limited per minute and by how many requests run at once. Both return `429` with a `Retry-After` header and a `limit_type` of `rate` or `concurrency`.

| Plan | Per minute | Concurrent requests |
| --- | --- | --- |
| Free, Premium, Evaluation | 120 requests | 20 |
| Developer and Launch | 300 requests | 40 |
| Partner | 600 requests | 60 |
| Scale | 1,200 requests | 100 |

The monthly allowance is separate. When it runs out the API returns `429` with `error: "API usage limit exceeded"`, your `tier`, `plan` and `monthly_limit`, and an `upgrade_url`.

| Plan | Included calls |
| --- | --- |
| Free | 50 per month |
| Evaluation | 1,000 in total over 3 days |
| Paid plans | 150 per month |
| Developer plan (Enterprise API) | 500 per month |
| Launch | 5,000 per month |
| Partner | 20,000 per month |
| Scale | 100,000 per month |

See [Plans and limits](https://awardtravelfinder.com/docs/plans) for prices.

## Cached reads

Add `cached_only=1` to a search endpoint to read stored data without running a live search. If nothing is stored yet, the API starts a background search and returns `202` with `retry_after` of about 60 seconds. Retry the same request after that.

## Next

- [Award search endpoints](https://awardtravelfinder.com/docs/api/search): availability, monthly calendars, pricing and airports.
- [Hotel search endpoints](https://awardtravelfinder.com/docs/api/hotels): live cash rates and award nights by city.
- [Offers and effective cost](https://awardtravelfinder.com/docs/api/offers): public transfer bonus and points sale endpoints, and the effective cost fields.
- [Agent API endpoints](https://awardtravelfinder.com/docs/api/agent): self-signup, balances, bookings, trips, monitors and alerts.
- [OpenAPI spec](https://awardtravelfinder.com/docs/api/openapi).
