Volver al catálogo

Postal Data API

postal_data_api

Postal Data API validates and looks up postal codes, locations, coordinates, and regional metadata across more than 240 countries and territories.

Acciones
6
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (6)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Get API InformationPOSTAL_DATA_API_GET_API_INFORMATIONAcción

Return Postal Data API version, coverage, usage guidance, current balance, and configured rate-limit status when returned, for connectivity or service discovery. The provider does not document this endpoint as unbilled, so assume it may consume one query.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Postal Code MetadataPOSTAL_DATA_API_GET_POSTAL_CODE_METADATAAcción

Return all available country-specific metadata for a postal code, such as coordinates, timezone, county, elevation, and administrative levels. The metadata fields vary by country and availability. Each successful call consumes one Postal Data API query.

Parámetros de entrada

  • postal_codestringObligatorio

    Postal code whose full metadata should be returned; pass it as a string to preserve leading zeros.

  • country_codestring

    Two-letter ISO 3166-1 alpha-2 country code. Defaults to US.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Look Up Postal CodePOSTAL_DATA_API_LOOKUP_POSTAL_CODEAcción

Look up the city, region, and coordinates for a postal code. Use this for a concise location result; use Get Postal Code Metadata for country-specific administrative details. Each successful call consumes one query.

Parámetros de entrada

  • postal_codestringObligatorio

    Postal code to look up. Pass it as a string to preserve leading zeros.

  • country_codestring

    Two-letter ISO 3166-1 alpha-2 country code. Defaults to US.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Postal Codes by CityPOSTAL_DATA_API_SEARCH_POSTAL_CODES_BY_CITYAcción

Return all postal codes matching a city and optional region, including fuzzy-match details. For US searches, provide a state name or state code. Each successful call consumes one Postal Data API query.

Parámetros de entrada

  • citystringObligatorio

    City name to search for.

  • statestring

    Full state or region name. For US searches, provide this or state_code.

  • state_codestring

    Two-letter US state abbreviation. For US searches, provide this or state.

  • country_codestring

    Two-letter ISO 3166-1 alpha-2 country code. Defaults to US.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate Postal CodePOSTAL_DATA_API_VALIDATE_POSTAL_CODEAcción

Check whether one postal code exists without treating a nonexistent code as an execution error. Inspect valid in the response. Each successful call consumes one Postal Data API query.

Parámetros de entrada

  • postal_codestringObligatorio

    Postal code to validate. Pass it as a string to preserve leading zeros.

  • country_codestring

    Two-letter ISO 3166-1 alpha-2 country code. Defaults to US.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate Postal Codes in BulkPOSTAL_DATA_API_VALIDATE_POSTAL_CODES_BULKAcción

Validate 1 to 1,000 postal codes synchronously, including mixed-country batches. Results preserve input order and report per-record failures. A batch of N records consumes N queries and is rejected atomically if balance or rate-limit budget is insufficient.

Parámetros de entrada

  • recordsobject[]Obligatorio

    Between 1 and 1,000 postal-code records to validate synchronously.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not