Hand travel work to an API that finishes it.
Send a travel reel, TikTok or YouTube link. Mazer watches it, picture, speech and caption, and returns every place in it, checked on the map. You pay only when a job finishes.
$5 of free credit to start. Test keys are free and return sample results.
One call in, a finished job out
Every job runs on our side and reports back. Your app never waits on a browser, a model or a map.
- SentPOST /v1/reels with your key. An Idempotency-Key makes retries safe.
- WatchedThe picture, what's said, the caption and the on-screen text.
- On the mapEach place checked against Google Places, with its address and coordinates.
- ChargedOnly now, and only for a finished run. You hear by signed webhook or GET /v1/jobs/{id}.
The request and what comes back
Authenticate with Authorization: Bearer tm_test_… or tm_live_…. Base URL: https://wiunqzjefneakwtlbgpp.supabase.co/functions/v1/agent-api
| Endpoint | What it does |
|---|---|
| POST /v1/reels | A reel, TikTok or YouTube link in; its places out. Shorthand for POST /v1/jobs with kind reel_to_trip. |
| POST /v1/jobs | { kind, input }. Add ?wait=1–60 to hold the response until the job finishes. |
| GET /v1/jobs/{id} | One job: status, result or error, price and charge. |
| GET /v1/jobs | Your latest jobs in the key’s mode. |
| GET /v1/prices | What each job costs in your wallet’s currency. |
| GET /v1/wallet | Balance, held and available credit, and recent movements. |
| Error | Meaning |
|---|---|
| 400 unsupported_url | Not a YouTube, TikTok or Instagram video link. |
| 401 unauthorized | Missing, unknown or revoked key. |
| 402 insufficient_balance | Not enough credit for a live job. Test keys never hit this. |
| 409 idempotency_key_reused | Same Idempotency-Key, different request. |
| 429 rate_limited | More than 120 requests a minute on one key. |
Webhooks carry X-TripMazer-Signature: t=…,v1=…, an HMAC-SHA256 of t.body with your signing secret, for job.succeeded, job.failed and wallet.low.
Pay as you go
Top up credit and each finished job is taken from it, the way the big AI APIs bill. No subscription, no minimum, no charge for searches or failed runs. Credit lasts 12 months.
| Job | USD | INR |
|---|---|---|
| Reel to Trip Every place in a travel video, on the map | $0.25 | ₹20 |
| Test keys | free | free |
Start with $5 of credit
Make a test key, send the curl above, and see your first run land in the console.
Building something bigger, like a bank or airline integration? Tell us about it.