Expanded Limits, Across all tiers - Our Gift to you! Learn more →

AlterLab
SearchResearchPricingComparePlaygroundBlogDocsChangelog
    AlterLabAlterLab
    PricingComparePlaygroundBlogDocsChangelog
    IntroductionQuickstartInstallationYour First Request
    REST APICrawl APIMap APISearch APIResearch APINewSERP APINewExtract APIAIJob PollingDomain StatsNewGeocode APINewNews APIBatch ResultsNewAPI KeysSessions APINewEnterprise APIEnterprise
    AccountAutoAI VisibilityAutoAlertsAutoAuthAutoBillingAutoCrawlAutoExtractAutoIntegrationsAutoKeysAutoMapAutoMonitorsAutoOrganizationsAutoResearch SchedulesAutoRunsAutoSchedulesAutoScrapeAutoSearchAutoSearch SchedulesAutoSessionsAutoUser WebhooksAutoV1 EndpointsAutoAffiliatesAutoAgentAutoAgent OnboardingAutoAgent VisibilityAutoAnalyticsAutoApprovalsAutoArtifactsAutoAttributionAutoB2BAutoBatchAutoBeta FeaturesAutoBlogAutoBuyerAutoChatAutoConnectionsAutoConnectorsAutoContact ListsAutoCreatorAutoCross SellAutoDashboardAutoDefaultsAutoDomainsAutoEmail PreferencesAutoFcAutoHandsAutoHealthAutoJobsAutoListingsAutoMaintenanceAutoNewsAutoOauthAutoOauth GrantsAutoPage InspectAutoPlatformAutoPresetsAutoPricingAutoPrivacyAutoPublicAutoPublic PagesAutoReferralAutoReferralsAutoReportsAutoResearchAutoSecretsAutoSerpAutoSSOAutoStorefrontsAutoSupportAutoTemplatesAutoToolsAutoTrackAutoUsageAutoUsage TagsAutoUserAutoWorkflowsAutoWorkspacesAutoWebhooksAuto
    OverviewPythonNode.jsCLI
    Guides OverviewJavaScript RenderingBrowser ActionsOutput FormatsPDF & OCRCachingWebhooksJSON Schema FilteringWebSocket Real-TimeBring Your Own ProxyProSticky SessionsProAuthenticated ScrapingNewHTTP Methods & BodiesNewStructured ExtractionAIWeb SearchAgent and RAG GroundingResearch JobsAgent RunsSite MappingWeb CrawlingBatch ScrapingSchedulerData MarketplaceSelling DataAgent OnboardingEmbeddingsKeyword IdeasAI VisibilityWorkflowsChange DetectionCloud Storage ExportSpend LimitsOrganizations & TeamsScrape TemplatesCustom ConnectorsSecretsContact ListsPlatform Sub-AccountsReferrals & AffiliatesAlerts & NotificationsExtraction ProfilesAIBYOK ExtractionAIOAuth2 Machine-to-MachineSupport & TicketsUnsupported Targets
    Tutorials OverviewStructured ExtractionAIE-commerce ScrapingNews MonitoringPrice MonitoringMulti-Page CrawlingMonitoring DashboardAI Agent / MCPMCPAI Research AgentAISite CrawlingData Pipeline to Cloud
    E-commerceLead GenerationChange MonitoringRAG & AI PipelinesAIResearch
    Reference OverviewPricingRate LimitsReliabilityReliability ContractError CodesChangelogVersioning
    Migrations OverviewFrom FirecrawlFrom ApifyFrom ScrapingBee / ScraperAPIFrom Crawl4AIFrom SpiderSearch to SERPFirecrawl v0 API ReferenceLegacy
    OverviewMCP ServerAIn8n NodeLangChainAICrewAIAILlamaIndexAISupabaseChrome ExtensionSoon
    PlaygroundPricingStatus

    Up to 5,000 free requests · No credit card

    API Reference
    POST

    Geocode Endpoint

    Turn an informal address or landmark description into coordinate candidates. Every candidate carries its source and source URL, and confidence rises when independent sources agree.

    Priced like one search query

    A lookup is charged like one search query and refunded in full when no candidate is found. The MCP tool is alterlab_geocode.

    Request

    POST
    /api/v1/geocode

    Resolve an informal address or landmark description to coordinates.

    Parameters

    NameTypeRequiredDescription
    querystring
    Required
    Informal address or landmark description, up to 300 characters. Distance hints such as 'a school 67 m away' are used for ranking.
    nearobjectOptionalBias point {lat, lng}: closer candidates rank higher.
    citystringOptionalCity or area name used to bias the search.
    countrystringOptionalISO 3166-1 alpha-2 country code.
    max_resultsintegerOptionalMaximum candidates, 1-10. Default 5.

    Response

    JSON
    {
      "query": "Cafe Coffee Day, Indiranagar",
      "candidates": [
        {
          "name": "Cafe Coffee Day",
          "address": "100 Feet Road, Indiranagar, Bengaluru",
          "lat": 12.9784,
          "lng": 77.6408,
          "confidence": 0.9,
          "source": "openstreetmap",
          "source_url": "https://www.openstreetmap.org/node/1"
        }
      ],
      "sources_tried": ["openstreetmap"],
      "billing": { "charged_microcents": 1000, "refunded_microcents": 0, "billed_microcents": 1000 }
    }

    Credits & Billing

    The charge equals one search query. It is refunded when no candidate is found or every provider fails (503). Geocoding must be enabled on the deployment; otherwise the endpoint returns 503 geocode_not_enabled.

    cURL Example

    Bash
    curl -X POST https://api.alterlab.io/api/v1/geocode \
      -H "X-API-Key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"query": "a school 67 m away, a university 272 m away", "city": "Bengaluru", "country": "in"}'
    Last updated: June 2026

    On this page