How to book it with points,
for AI agents.
Give it a flight, or a question in words. It returns the programme that books it for the fewest of the traveller’s points, from each programme’s published award chart, with transfer paths, surcharges and where to check seats. One MCP tool, how_to_book_with_points: free to try with no key; no account needed to pay US$0.05 an answer over x402; API keys for steady volume. The same answer schema whichever way you call.
- https://awardsecrets.com/mcp
- 20 answers an hour, 60 a day per address
- Over the limit: an error with code, retry_after and the ways to go on
- USDC on Base, any x402 v2 client
- Charged only for an answer: not for a clarifying question or an error
- 30 requests a minute per address
- Sandbox 1,000 or Developer 10,000 queries a month
- The same key on MCP and REST
- Self-serve: Google sign-in and a card
- A finished answer to “how do I book this flight with my points?”, from a question in words or from fields.
- Points prices for a flight in every programme that books it, from published award charts, with card and hotel transfer paths, ratios, minimums and transfer times.
- Active transfer bonuses applied and labelled; taxes and surcharges per route.
- Over REST and MCP, or per answer over x402 with no account.
- No live seat check: it names the sites to check, best way first.
- No guessed prices: programmes that price by date are named, not priced.
- No fares and no booking.
Prices come from programmes’ published charts and our dated checks of them; transfer partners and ratios are checked against each bank’s and hotel’s own list.
“How do I book this with my points?”
The answer operation on the points endpoint. Send the traveller’s question in words, or the airline,
route, cabin and points they hold, and get back the best-value programme that books that airline, the miles one way,
exactly how their card or airline points get there, the other ways to book, and which sites to check for seats.
It comes as ready-to-show markdown and as data, so you can display it as is or build your own view.
Same key, same allowance: one answer is one query.
curl -X POST https://awardsecrets.com/points.php \
-H "Authorization: Bearer ak_live_…" \
-H "Content-Type: application/json" \
-d '{"operation":"answer","question":"How do I fly ANA business from Chicago to Tokyo with Amex points?"}'
-d '{"operation":"answer","airline":"NH","origin":"ORD","destination":"HND",
"cabin":"business","points_held":["AMEX_MR"]}'
{
"status": "ok", "operation": "answer", "quota_remaining": 998,
"result": {
"answer_status": "ok",
"answer": "### ANA, ORD to HND, business\n\n**Best way with your points:** Virgin Atlantic Flying Club, 60,000 miles one way…",
"options": [ {
"airline": "NH", "airline_name": "ANA", "cabin": "business",
"best": { "programme": "VIRGIN_ATLANTIC", "miles_one_way": 60000, "surcharge_usd_approx": 50,
"book_online": false, "caveats": ["book by phone"],
"transfers": [ { "from": "AMEX_MR", "ratio": "1:1", "transfer_time": "instant", "points_needed": 60000 } ] },
"others": [ { "programme": "AEROPLAN", "miles_one_way": 85000, … },
{ "programme": "ANA_MILEAGE_CLUB", "miles_one_way": 50000, "price_type": "starting_at",
"surcharge_level": "high", … },
…one more ],
"where_to_check": "Virgin Atlantic Flying Club books this by phone, so ask its agents for seats on your date; Aeroplan (aircanada.com); …"
} ],
"basis": "Award prices from each programme's published chart or our last check of it. Not a live seat check: …"
}
}
Virgin Atlantic’s chart beats ANA’s own programme here once ANA’s surcharges (about US$600 one way) are counted. The answer says so plainly and puts the phone-only catch next to the price.
Request
question: the fields object from an earlier answer, so a follow-up such as “what about with Chase?” keeps the route.airlines: a list of up to 3. Required when sending fields.economy, premium_economy (priced as economy, and the answer says so), business or first. Defaults to business.AMEX_MR, CHASE_UR, CITI_TY, CAPITAL_ONE, BILT) or programme codes (AVIOS, AEROPLAN…). Without it the answer assumes the main card points and says so. An unknown code is a 400, not a silent guess.YYYY-MM-DD) picks the season on seasonal charts; passengers (1–9) adds “per person”.What comes back
ok, or needs_clarification when the question has no route we can work out: answer is then a question to put to the traveller, and the call is not charged (charged: false).nonstop_airlines lists the airlines we believe fly the route nonstop, and the answer covers them.best, others (up to 3), priced_by_date (programmes that book it but price by date, so no number is given), where_to_check, and note when nothing is priced.programme, miles and miles_one_way, round_trip, price_type, season_miles / peak_miles, surcharge_level and surcharge_usd_approx, book_online, caveats, where_to_book, and transfers: for each of the traveller’s currencies that reaches it, the ratio, transfer time and points needed.points_held was not given; null otherwise.Errors follow the rest of the API: a malformed request is a 400 and uses no query; if the question can’t be read (a 502), the query is given back. Prefer fields when you already know the airline and route: they skip the AI step and answer faster.
No key, no account: US$0.05 an answer
AI agents can buy a single points answer without a
membership, using the x402 payment
protocol (version 2). Send the same request to points_x402.php; the reply tells your agent what to
pay; it pays US$0.05 in USDC on Base and gets the answer, with a receipt. Any x402 client library does this for you.
curl -i -X POST https://awardsecrets.com/points_x402.php \
-H "Content-Type: application/json" \
-d '{"question":"How do I fly ANA business from Chicago to Tokyo with Amex points?"}'
{ "x402Version": 2,
"resource": { "url": "https://awardsecrets.com/points_x402.php", "mimeType": "application/json" },
"accepts": [ { "scheme": "exact", "network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "amount": "50000",
"payTo": "0x330ef8Dc8a5DCecF8d72BBc3faD8De0d99ee99c8", "maxTimeoutSeconds": 60,
"extra": { "name": "USD Coin", "version": "2" } } ] }
-H "PAYMENT-SIGNATURE: <base64 x402 v2 payment payload>"
{ "status": "ok", "operation": "answer", "charged": true,
"result": { "answer": "### ANA, ORD to HND, business …", "options": [ … ] },
"payment": { "transaction": "0x…", "network": "eip155:8453", "amount": "50000" } }
+ PAYMENT-RESPONSE header: the settlement receipt (base64)
How it charges
operation (a question, or airline, origin, destination, cabin, points_held). A malformed request is a 400 before any payment is asked for.charged: false).What a flight costs in points
An endpoint on your API key and monthly allowance: one pricing request counts as one query. Give it the airline that operates the flight and the route, and it returns every programme that can price it from a published award chart, best value first (points plus taxes and surcharges), each labelled with how the price was worked out. Programmes without a published chart are listed as unpriced, with the reason. We never estimate a number.
curl -X POST https://awardsecrets.com/points.php \
-H "Authorization: Bearer ak_live_…" \
-H "Content-Type: application/json" \
-d '{"operation":"best_path","carrier":"QR","origin":"MEL","destination":"LHR","via":["DOH"],"cabin":"business"}'
{
"status": "ok",
"quota_remaining": 999,
"operation": "best_path",
"result": {
"priced": [
{ "programme": "QATAR_PRIVILEGE_CLUB", "programme_name": "Qatar Airways Privilege Club (Avios)",
"miles": 90000, "price_type": "fixed", "pricing_basis": "journey",
"surcharge_level": "low", "as_of": "2026-10-13" },
{ "programme": "JAL_MILEAGE_BANK", "programme_name": "JAL Mileage Bank",
"miles": 110000, "price_type": "fixed", "pricing_basis": "per_trip",
"surcharge_level": "low", "as_of": "2026-10-10" },
{ "programme": "IBERIA_CLUB", "programme_name": "Iberia Club (Avios)",
"miles": 113000, "peak_miles": 148500, "pricing_basis": "per_flight_sum",
"surcharge_level": "low", "as_of": "2026-10-12" },
{ "programme": "AADVANTAGE", "programme_name": "American Airlines AAdvantage",
"miles": 122500, "price_type": "starting_at", "pricing_basis": "two_awards",
"surcharge_level": "low", "as_of": "2026-10-10" }
…three more, best value first
],
"unpriced": [
{ "programme": "ASIA_MILES", "unpriced_reason": "no_chart_entry" }
],
"stale_count": 1
}
}
Same trip, four programmes, four ways of pricing: Qatar's own programme prices the whole connection once by region pair; JAL prices the whole trip once on its total distance; Iberia prices each flight, with off-peak and peak; AAdvantage counts two long-haul flights as two awards. Every option carries all the fields below. The public route pages show this same pricing for every route we monitor. The request prices the trip as Qatar-operated throughout to illustrate the fields. In practice Melbourne–Doha is VA7, a Virgin Australia flight operated with a Qatar aircraft (sold as QR8402), so that journey is mixed-operator: price each operating airline separately, and expect programmes to treat the whole journey differently.
Request
best_path (what this flight costs, by programme), chart (one programme’s chart price), programme (what a programme can book), transfers (where a card currency can transfer) or answer (the finished how-to-book answer, above).economy, business or first.["DOH"]. Needed for correct prices on connections: some programmes price each flight, others the total distance.YYYY-MM-DD. Seasonal charts (ANA’s own flights) use it to pick the season; without it they return a from price with every season listed.AMEX_MR, CHASE_UR) or programmes you hold directly (e.g. AVIOS). Omit it to price every programme that can book the flight.What each price tells you
fixed: a published chart price. starting_at: the programme publishes minimums (show it as “from”); the actual price can be higher.true when miles is a round-trip price because the programme sells only round-trip awards on that route. Ranking counts it as half per direction. Rare: ANA Mileage Club, the old example, has sold one-way awards since June 2025.season is low, regular or high for the date given; season_miles lists all three. Without a date, season is null and miles is the lowest.per_trip (the whole one-way trip priced once on its total distance), per_flight / per_flight_sum (each flight priced separately; legs shows each), journey (by region or zone, origin to destination).per_flight / per_flight_sum on a connection: each flight’s price (from, to, miles). null when the trip is a single flight or is priced as a whole.peak_miles is null and peak_note says so.true when the chart behind the price is pending re-verification. Treat it as indicative and confirm before transferring points.low, moderate or high, with surcharge_usd_approx as a rough estimate.chart_as_of in the answer).currencies_held: which of your currencies transfer to the programme, the ratio and the points needed.dynamic_pricing (no published chart, so it cannot be quoted in advance) or no_chart_entry (a chart exists, but we don’t hold this route or origin yet). We never estimate these. Unpriced entries share the option structure, but their price fields (miles, price_type, pricing_basis, legs) carry no price information: ignore them.Prices come from each programme’s published award charts and are indicative: programmes change their charts, and some publish only minimums. Confirm the price with the programme before transferring points. Coverage grows as we verify more charts; each response states exactly which programmes are priced and why the others are not. How we keep the data right →
Native tool for AI agents
The points answer, exposed as an MCP tool. Point Claude Code, Cursor, or any MCP client at https://awardsecrets.com/mcp and “how do I book this with my points?” becomes something your agent can call directly — no client code to write.
Streamable HTTP
Remote transport, no local process to install. Free to try without a key; with one, the same bearer key and allowance as the REST API.
One tool
how_to_book_with_points takes a question or fields and returns the points answer. Typed output schema: availability_checked is always false, and each price says what kind it is.
Same contract as REST
Chart prices only, never guessed; dynamic programmes named, not priced. Nothing invented for a model to repeat.
# DISCOVER — NO KEY REQUIRED curl -X POST https://awardsecrets.com/mcp \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' # ASK HOW TO BOOK IT WITH POINTS: FREE TO TRY WITHOUT A KEY # (add -H "Authorization: Bearer ak_live_…" to use your plan's allowance) curl -X POST https://awardsecrets.com/mcp \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":2,"method":"tools/call", "params":{"name":"how_to_book_with_points", "arguments":{"question":"Virgin Atlantic upper class New York to London with Chase points"}}}'
tools/list and initialize answer without a key, so a client can discover the server before you have one. Without a key the list shows the one tool, how_to_book_with_points.
Free trial, key, x402 or A2A
| Way in | Key? | Limits and price | To start |
|---|---|---|---|
| MCP, free trial | No | 20 answers an hour and 60 a day per IP address; 1,500 a day for everyone. Over a limit: a tool error (isError) naming the paid ways. | Nothing: point a client at /mcp |
| MCP or REST with a key | Yes | Your plan's monthly allowance (Sandbox 1,000 queries, Developer 10,000). Over it: queries pause until next month (REST 429). | Start a membership (Google sign-in, card) |
| x402, pay per answer | No | US$0.05 in USDC on Base per answer; nothing collected for a clarifying question or an error. | A wallet: points_x402.php |
| A2A agent | No | Same per-address limits as the free trial. Over them: a failed task naming the paid ways. | Read the agent card, send a message |
Limits are rolling (the last hour, the last 24 hours). Every way returns the same answer and the same AnswerResult schema; only answer_status: ok is charged. cabin_not_priced means we don't price the cabin asked for (premium economy): the options are economy, offered as an alternative.
A2A: agent card at https://awardsecrets.com/.well-known/agent-card.json; JSON-RPC at https://awardsecrets.com/a2a.php (SendMessage, or message/send for A2A 0.3). Send the flight question as a text message; follow-ups keep the contextId.
Worked examples: MCP, A2A and x402
The exact calls and what comes back, shortened with …. Whichever way you call, the machine-readable answer is the same AnswerResult object, and availability_checked is always false: these are chart prices, so confirm seats before transferring points.
MCP
# 1. initialize {"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{}, "clientInfo":{"name":"my-agent","version":"1.0"}}} → {"jsonrpc":"2.0","id":1,"result":{"protocolVersion":"2025-06-18","capabilities":{"tools":{"listChanged":false}}, "serverInfo":{"name":"awardsecrets","version":"1.4.0"},"instructions":"AwardSecrets answers …"}} # 2. tools/list: one tool, how_to_book_with_points, with inputSchema and outputSchema {"jsonrpc":"2.0","id":2,"method":"tools/list"} # 3. tools/call with fields (no AI reading step; or send {"question":"…"} in words) {"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"how_to_book_with_points", "arguments":{"airline":"NH","origin":"ORD","destination":"HND","cabin":"business","points_held":["AMEX_MR"]}}} → {"jsonrpc":"2.0","id":3,"result":{"isError":false, "content":[{"type":"text","text":"{…the same JSON…}"}], "structuredContent":{"status":"ok","operation":"answer","result":{ "answer_status":"ok","availability_checked":false,"requested_cabin":"business","priced_cabin":"business", "answer":"### ANA, ORD to HND, business\n\n**Best way with your points:** Virgin Atlantic Flying Club, 60,000 miles …", "options":[{"airline":"NH","best":{"programme":"VIRGIN_ATLANTIC","miles_one_way":60000,"price_state":"fixed_chart", "chart_as_of":"2026-10-10","surcharge_usd_approx":50,"book_online":false, "transfers":[{"from":"AMEX_MR","ratio":"1:1","transfer_time":"instant","points_needed":60000}]}, …}], "points_assumed":null, …}}}} # Over the free limit (20 an hour, 60 a day per address): HTTP 429 and a tool error → {"jsonrpc":"2.0","id":3,"result":{"isError":true,"content":[{"type":"text","text": "{\"error\":\"free answers are limited to 20 an hour per address. …\",\"code\":\"free_limit\",\"retry_after\":1840, \"upgrade\":[{\"way\":\"x402\",\"url\":\"https://awardsecrets.com/points_x402.php\",\"price\":\"US$0.05 in USDC on Base per answer\",…}, {\"way\":\"api_key\",\"url\":\"https://awardsecrets.com/api.html#pricing\",…}]}"}]}}
Read structuredContent.result. Show answer (markdown) to a person; use options for logic. answer_status: ok, needs_clarification (answer is the question to ask), off_topic, or cabin_not_priced (premium economy: the options are economy). points_assumed is set when the call named no points. Free MCP answers are limited by address; from a busy server, use an API key or x402.
A2A
# Case 1: the agent needs more. A clarifying question leaves the task open (input required). {"jsonrpc":"2.0","id":1,"method":"SendMessage","params":{"message":{"messageId":"m1","role":"ROLE_USER", "parts":[{"text":"Business class from Chicago with my Amex points, flying ANA"}]}}} → {"result":{"task":{"id":"T1","contextId":"C1","status":{"state":"TASK_STATE_INPUT_REQUIRED", "message":{"role":"ROLE_AGENT","parts":[{"text":"Which airports are you flying from and to?"}]}}, "history":[…]}}} # Reply with the same taskId and contextId: the SAME task continues and completes, # keeping what was said first (Amex points, ANA, business) {"jsonrpc":"2.0","id":2,"method":"SendMessage","params":{"message":{"messageId":"m2","role":"ROLE_USER", "taskId":"T1","contextId":"C1","parts":[{"text":"Chicago O'Hare to Tokyo Haneda"}]}}} → {"result":{"task":{"id":"T1","contextId":"C1","status":{"state":"TASK_STATE_COMPLETED", …}, "artifacts":[{"name":"answer","parts":[ {"text":"### ANA, ORD to HND, business …","mediaType":"text/markdown"}, {"data":{"status":"ok","answer_status":"ok","result":{ …AnswerResult… }},"mediaType":"application/json"}]}], "history":[ …4 messages… ]}}} # Case 2: a follow-up AFTER an answer ("what about first class?"): send the contextId only. # A completed task is final, so this is a NEW task (new id) in the same context, with the earlier # airports, airline, dates and points kept unless the message changes them. {"jsonrpc":"2.0","id":3,"method":"SendMessage","params":{"message":{"messageId":"m3","role":"ROLE_USER", "contextId":"C1","parts":[{"text":"What about first class?"}]},"configuration":{"historyLength":0}}} → {"result":{"task":{"id":"T2","contextId":"C1","status":{"state":"TASK_STATE_COMPLETED", …},"artifacts":[…]}}} (historyLength 0: no history in the reply; GetTask takes historyLength too)
The typed result is artifacts[0].parts[1].data.result (A2A 0.3: the part with "kind":"data"), the same AnswerResult as MCP and REST. States: COMPLETED for an answer, an off-topic reply or one about who we are; INPUT_REQUIRED for a clarifying question; FAILED over the free limits or on an error. Tasks are kept 2 days (GetTask). The agent never asks for payment or account details in a chat.
x402: what each reply means
| You send | You get | Charged? |
|---|---|---|
| A valid request, no payment | 402 with the PAYMENT-REQUIRED header (price, network, asset, payTo) | No |
| Request fields that fail validation, e.g. {"origin":"ORD"} | 400 naming the problem; no payment asked | No |
| GET, or an empty POST (a probe) | 402 price quote | No |
| A valid request with PAYMENT-SIGNATURE | 200, charged: true, the answer, PAYMENT-RESPONSE receipt | Yes, US$0.05 |
| Paid, but the question needs clarifying | 200, charged: false, answer_status: needs_clarification | No (not settled) |
The full payment flow, with the decoded 402, is above. Discovery: /.well-known/x402 (application/json). Any x402 v2 client library pays and retries for you.
API membership. One monthly plan.
Membership gives you API and MCP access to the points answer and points prices. Each plan includes a monthly fair-use allowance; there are no per-query charges. No membership? AI agents can pay per answer instead.
A query is one pricing request or one answer. Above your allowance, queries pause until the next month or you move up a plan; nothing is billed per query.
Terms of Service — see §6 for plans and API access and §7 for what you may do with the data.
Points API FAQ
Is there an API for how to book a flight with points?
Yes. The AwardSecrets Points API takes a flight (airline and route, optionally cabin, date, travellers and the points the traveller holds) or a question in words, and returns the best way to book it with points (fewest points once taxes and surcharges are counted): the programme, the miles from its published award chart, how many card or hotel points that takes after transfer ratios and minimums, the transfer time, taxes and surcharges, and where to check for saver seats. As ready-to-show markdown and as data.
Where do the prices come from?
From each loyalty programme's published award chart and transfer partners' published ratios, checked against the programmes' own pages and dated. Programmes that price by date (no published chart) are named as unpriced, never estimated. Active transfer bonuses are applied and labelled.
Does it check live award seats?
No. It is pricing, not a live seat check: the answer names the sites to check for saver seats, best way first, and tells the traveller to find seats before transferring points, because transfers usually can't be undone. Award seat availability (api.php) is kept for members who already use it and is not offered to new members.
Does it work with AI agents such as Claude or Cursor?
Yes. The points answer is an MCP tool, how_to_book_with_points, at https://awardsecrets.com/mcp. It is free to try without a key: 20 answers an hour and 60 a day per IP address. With an API key, calls use your plan's allowance. Agents can also pay per answer over x402, or talk to the A2A agent (card at https://awardsecrets.com/.well-known/agent-card.json).
Can an AI agent pay per answer without a membership?
Yes. POST the question to https://awardsecrets.com/points_x402.php: it answers 402 with the price (US$0.05 in USDC on Base, x402 version 2); the agent pays and gets the answer. No account and no key. Payment is settled only after the answer exists.
What does API access cost?
A monthly membership: Sandbox US$49 (up to 1,000 queries a month) or Developer US$499 (up to 10,000); Enterprise is a custom plan. There are no per-query charges: above the allowance, queries pause until the next month or you move up a plan. One query is one pricing request or one answer. Or pay US$0.05 per answer over x402 with no membership.
Will the response format change?
We may add new fields at any time, so your client should ignore fields it doesn't recognise. We won't remove or change existing fields without notice to members. The changelog is in the OpenAPI description (openapi.json). Latest: 2.1.0 (21 Nov 2026) types the whole answer (one schema for REST and MCP) and adds fields that say what each number is: availability_checked, requested and priced cabin, price_state, chart_as_of and transfer bonus end dates. Award seat availability (api.php and the MCP tool search_award_availability) stays available to members who already use it; it is not offered to new members.
Start a membership
Start a Sandbox or Developer membership online: sign in with Google, pay securely with Stripe, and your API key arrives by email within a minute. Enterprise plans are tailored to your business.
API questions: api@awardsecrets.com · Enterprise agreements, partnerships and trial keys: partners@awardsecrets.com
Already a member? Your account · Cancel any time.