intents
Place Dossier Intent
Resolve a business or place from a query, then pull its Google Maps reviews — the place lookup and review fetch chained server-side.
GET/api/public/v1/place-dossier
- price
- $0.010
- atomic
- 10000
- free tier
- 3 calls / agent
- chain
- base mainnet
- asset
- USDC
- scheme
- exact
agent brief
Give a place query, get the matching business record plus its reviews.
engine: · results key: results · settlement: USDC / base / exact
use this when you need to
- -Vendor vetting for a local-services agent
- -Sentiment summary for one location
- -Contact + reputation dossier
query parameters
| name | type | required | description |
|---|---|---|---|
| network | base | base-sepolia | no · default "base" | Payment network. base-sepolia returns mock data for testing. |
| q | string | yes | Place or business query, e.g. coffee in Austin |
| place_id | string | no | Skip discovery by supplying a known Google place ID |
| sort_by | string | no | relevance | newest | highest_rating | lowest_rating |
| hl | string | no · default "en" | Interface language code |
call it — curl
bash
# Free tier — first 3 calls per agent identity, no payment header
curl "https://marketplaceforaiagents.com/api/public/v1/place-dossier?q=AI+agents"
# Sandbox — signed testnet USDC, mock response, no real spend
curl "https://marketplaceforaiagents.com/api/public/v1/place-dossier?q=AI+agents&network=base-sepolia" \
-H "X-PAYMENT: <base64 signed base-sepolia USDC authorization>"
# Production — signed x402 payment header, real data
curl "https://marketplaceforaiagents.com/api/public/v1/place-dossier?q=AI+agents" \
-H "X-PAYMENT: <base64 signed USDC authorization>"call it — typescript + x402-fetch
typescript
import { wrapFetchWithPayment } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY as `0x${string}`);
const fetchWithPayment = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPayment(
"https://marketplaceforaiagents.com/api/public/v1/place-dossier?q=AI+agents"
);
const data = await res.json();
console.log(data.results);response — 200 ok
application/json
{
"intent": "place-dossier",
"chain": [
"google-maps",
"google-maps-reviews"
],
"steps_run": 2,
"results": {
"google-maps": {
"note": "Normalized response of /api/public/v1/google-maps"
},
"google-maps-reviews": {
"note": "Normalized response of /api/public/v1/google-maps-reviews"
}
}
}status codes
200data returned, response includes X-PAYMENT-RESPONSE receipt when paid
400missing or invalid required parameters
402free tier exhausted or invalid X-PAYMENT — body contains accepts[] payment requirements
404unknown endpoint slug
429upstream rate limit — retry with backoff
500upstream or settlement error