Free x402 resource (price 0)
agent-data-api.netlify.app/api/airbnb/preview
Free x402 resource (price 0): a compact preview of one public Airbnb room page as JSON: title, location, rating, review count, property type and photo count. Same parser as the paid /api/airbnb/listing endpoint, which returns the full record (description, host, amenities, rooms, coordinates, photos) for USD 0.02. Input: airbnb.com/rooms/<id> URL.
GET
https://agent-data-api.netlify.app/api/airbnb/previewUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-data-api.netlify.app/api/airbnb/preview?url=%3Curl%3E");
console.log(await res.json());Example input
{
"url": {
"type": "string",
"example": "https://www.airbnb.com/rooms/577971748947083358",
"required": true,
"description": "Airbnb listing URL, e.g. https://www.airbnb.com/rooms/577971748947083358 (any airbnb.* domain; the numeric id is extracted)"
}
}