B
—
per call · USDC on Solana
Flight search
Endpoint
POST https://travel.brij.fi/air/search11
Calls / 30d
1
Unique payers / 30d
Sep 7
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://travel.brij.fi/air/search", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"adults": 1,
"cabin_class": "economy",
"depart_date": "2026-06-10",
"destination_iata": "LIS",
"origin_iata": "MAD"
}),
});
const data = await res.json();cURL
curl -X POST \
"https://travel.brij.fi/air/search" \
-H "Content-Type: application/json" \
-d '{"adults":1,"cabin_class":"economy","depart_date":"2026-06-10","destination_iata":"LIS","origin_iata":"MAD"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"search": {
"offers": [
{
"arriving_at": "2026-08-02T21:10:00",
"base_amount_decimal": "65.00",
"cabin_class": "economy",
"cabin_class_marketing_name": "ECONOMY",
"carry_on_bags_included": 1,
"checked_bags_included": 1,
"comparison_key": "cmp_abc123",
"conditions": {
"change_allowed": true,
"change_penalty_amount": "0",
"change_penalty_currency": "USD",
"refund_allowed": false
},
"departing_at": "2026-08-02T14:42:00",
"destination_iata": "LIS",
"destination_time_zone": "Europe/Lisbon",
"duration": "PT1H15M",
"fare_brand_name": "Flexible Balearic",
"id": "off_0000000000000000000000",
"identity_documents_required": false,
"origin_iata": "MAD",
"origin_time_zone": "Europe/Madrid",
"owner_name": "Iberia",
"segments": [
{
"arriving_at": "2026-08-02T17:44:00",
"carrier_name": "Iberia",
"departing_at": "2026-08-02T14:42:00",
"destination_iata": "MXP",
"flight_number": "1953",
"origin_iata": "MAD"
},
{
"arriving_at": "2026-08-02T21:10:00",
"carrier_name": "Iberia",
"departing_at": "2026-08-02T19:28:00",
"destination_iata": "LIS",
"flight_number": "1430",
"origin_iata": "MXP"
}
],
"stops": 1,
"tax_amount_decimal": "24.50",
"technical_stops": 0,
"total_amount": 216950000,
"total_amount_decimal": "216.95",
"total_currency": "USD",
"total_emissions_kg": "21"
}
],
"request_id": "orq_0000000000000000000000"
}
}Payment details
Pay to
4wvcrhictleqwod3pew3iffjmjfscbprqfkenb2rq59bAsset
epjfwdd5aufqssqem2qn1xzybapc8g4weggkzwytdt1vNetworksSolana
Schemesexact
Is this your API?
Pin it to the top of Search & Web and the homepage with a featured placement.
More from Brij & similar services
S
StableEnrich · EXA Search
stableenrich.dev
Exa Search - Neural search across the web
POSTBaseSearch & Web
$0.01 / call44k calls / 30d
T
Twit · Tweets Search
x402.twit.sh
Search Twitter/X tweets with advanced filters. Returns up to 20 tweets per page, most recent first, with pagination. At least one filter required. Params: words, phrase, anyWords, noneWords, hashtags, from, to, mentioning, minReplies, minLikes, minReposts, since (YYYY-MM-DD), until, next_token. e.g. GET /tweets/search?words=bitcoin&from=elonmusk&minLikes=100. Returns X v2 API-compatible JSON.
GETBaseSearch & Web
$0.006 / call8.8k calls / 30d
Exa · Search
api.exa.ai
Exa /search endpoint
POSTBaseSearch & Web
$0.007 / call6.0k calls / 30d