{"uid":"cap_Sn5-qPrjA-JLkPHcx7bsF","slug":"astro-dutchdata-io-location-lookup-35b4b157","name":"astro.dutchdata.io Location Lookup","description":"Location data","url":"https://astro.dutchdata.io/api/locations/US/NY/New%20York","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{"city":{"in":"path","type":"string","description":"path parameter"},"region_code":{"in":"path","type":"string","description":"path parameter"},"country_code":{"in":"path","type":"string","description":"path parameter"}}}}},"output":{"type":"object","properties":{"example":{"schema":{"type":"object","required":["location"],"properties":{"location":{"$ref":"#/components/schemas/RichLocation"}}},"example":{"location":{"id":5128581,"lat":40.71427,"lon":-74.00597,"city":"New York","timezone":"America/New_York","population":8804190,"region_code":"NY","country_code":"US"}},"mimeType":"application/json"}}}},"description":"x402 Bazaar discovery metadata"},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Zl9QRQGDU3Ui89ttvsXBH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns geographic and timezone metadata for a specified city, region, and country","exampleAgentPrompt":"Look up the geographic details for New York, NY, US — I need the coordinates, timezone, and population for that city.","exampleUseCases":null,"resultDescription":"A JSON object containing the city's unique location ID, latitude, longitude, city name, IANA timezone string (e.g. America/New_York), population count, region code (e.g. NY), and country code (e.g. US).","failureModes":["City not found in database returns an error or empty location object","Invalid or unsupported country/region code returns 4xx error","Misspelled city name may return no results","Network or payment failure returns 402 or 5xx response"],"whenToPreferThis":"Use this endpoint when you need structured geographic metadata (coordinates, timezone, population) for a specific city identified by name, region code, and country code — particularly within the US. Prefer it when you need a location ID compatible with other astro.dutchdata.io endpoints such as astrological chart generation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:32:50.212Z","isFirstParty":false}