{"uid":"cap_pYUVK2XjV2ILIP6F_rXlA","slug":"mapbox-tilequery-via-locus-x402-2f0785c9","name":"Mapbox Tilequery via Locus x402","description":"Location and mapping APIs — geocoding, directions, isochrones, matrix routing, map matching, static maps, and spatial queries.","url":"https://mapbox.x402.paywithlocus.com/mapbox/tilequery","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"number"},"dedupe":{"type":"boolean"},"layers":{"type":"string"},"radius":{"type":"number"},"geometry":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"tileset_id":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0eCbxD42f0riFSFT50dIj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Queries vector tileset features at a geographic point, returning spatial features (polygons, lines, points) within a given radius from Mapbox tilesets.","exampleAgentPrompt":"Query the mapbox.mapbox-streets-v8 tileset at latitude 40.7580, longitude -73.9855 with a 100-meter radius, returning up to 10 features and filtering to polygon geometry only.","exampleUseCases":[{"title":"Land use zone lookup for address","prompt":"I need to know what land use or administrative zone the point at latitude 37.7749, longitude -122.4194 falls within — query the mapbox.mapbox-terrain-v2 tileset with point-in-polygon (radius 0) and return up to 5 features."},{"title":"Nearby road features for routing context","prompt":"Find all road and street features within 200 meters of latitude 51.5074, longitude -0.1278 in the mapbox.mapbox-streets-v8 tileset, limit to 20 results and filter to linestring geometry."},{"title":"Custom tileset feature query for retail site","prompt":"Query my custom tileset acme-corp.retail-zones at coordinates latitude 34.0522, longitude -118.2437 with a 500-meter search radius, deduplicate results, and return up to 50 features so I can see which retail zones overlap that location."}],"resultDescription":"Returns a GeoJSON FeatureCollection containing features from the specified Mapbox tileset that intersect with or fall within the given radius of the queried coordinate. Each feature includes geometry, layer name, and tileset properties. Also returns payment settlement confirmation and a request ID for status tracking.","failureModes":["Invalid tileset_id returns an error or empty feature set","Latitude/longitude out of range (-85 to 85 lat, -180 to 180 lon) causes validation error","Radius too large for the tileset resolution may return incomplete results","Layer names that don't exist in the tileset return empty results","Limit outside 1-50 range may be rejected or clamped","Payment failure returns a 402 response before the query is executed"],"whenToPreferThis":"Choose this endpoint when you need to perform a spatial point query against a Mapbox vector tileset — especially for point-in-polygon, proximity queries, or feature lookups tied to a specific coordinate. Prefer it over geocoding when you already have coordinates and need tileset feature data rather than address resolution. Ideal for GIS enrichment, land use analysis, or querying custom tilesets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:36:00.011Z","isFirstParty":false}