{"uid":"cap_uUEh_ZAQREP3Kp-4ydmZv","slug":"mercator-forward-projection-b7e8c772","name":"Mercator Forward Projection","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/geometry/mercator-forward?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lat":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude in decimal degrees."},"lon":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude in decimal degrees."}}},"responseSchema":{"type":"json","example":{"x":0,"y":0,"latitude_clamped":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jxWY-dZYqaBVCG4ZB92UZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts geographic coordinates (latitude/longitude) to Web Mercator projected coordinates (x/y) in meters","exampleAgentPrompt":"Convert latitude 40.7128 and longitude -74.0060 to Web Mercator projected x/y coordinates.","exampleUseCases":[{"title":"Map tile coordinate calculation","prompt":"I need to project the coordinates for the Eiffel Tower — latitude 48.8584, longitude 2.2945 — to Web Mercator x/y so I can place it on a slippy map."},{"title":"Geospatial data pipeline projection","prompt":"Can you convert these GPS coordinates — lat 35.6762, lon 139.6503 — to Mercator projected coordinates so I can feed them into my mapping pipeline?"},{"title":"Distance computation in projected space","prompt":"Take the coordinates for Sydney Opera House at latitude -33.8568, longitude 151.2153 and give me the Web Mercator x/y values so I can compute distances in meters on a flat map."}],"resultDescription":"Returns a JSON object with x (easting in meters), y (northing in meters), and a latitude_clamped boolean indicating whether the latitude was clamped to valid Mercator bounds (approximately ±85.05 degrees).","failureModes":["Latitude out of [-90, 90] range returns validation error","Longitude out of [-180, 180] range returns validation error","Missing required lat or lon fields returns 400 bad request","Extreme polar latitudes (near ±90°) may be clamped, indicated by latitude_clamped=true"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-call Mercator forward projection without running your own math library. Ideal for serverless agent workflows that need to convert a handful of geographic coordinates to projected map space on demand, especially when integrated with x402 micropayment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:05.861Z","isFirstParty":false,"canonicalSlug":"mercator-forward-projection-b7e8c772"}