Postal Data API
postal_data_apiPostal Data API validates and looks up postal codes, locations, coordinates, and regional metadata across more than 240 countries and territories.
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ónReturn 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.
POSTAL_DATA_API_GET_API_INFORMATIONAcciónReturn 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
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Postal Code MetadataPOSTAL_DATA_API_GET_POSTAL_CODE_METADATAAcciónReturn 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.
POSTAL_DATA_API_GET_POSTAL_CODE_METADATAAcciónReturn 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_codestringObligatorioPostal code whose full metadata should be returned; pass it as a string to preserve leading zeros.
country_codestringTwo-letter ISO 3166-1 alpha-2 country code. Defaults to US.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Look Up Postal CodePOSTAL_DATA_API_LOOKUP_POSTAL_CODEAcciónLook 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.
POSTAL_DATA_API_LOOKUP_POSTAL_CODEAcciónLook 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_codestringObligatorioPostal code to look up. Pass it as a string to preserve leading zeros.
country_codestringTwo-letter ISO 3166-1 alpha-2 country code. Defaults to US.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search Postal Codes by CityPOSTAL_DATA_API_SEARCH_POSTAL_CODES_BY_CITYAcciónReturn 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.
POSTAL_DATA_API_SEARCH_POSTAL_CODES_BY_CITYAcciónReturn 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
citystringObligatorioCity name to search for.
statestringFull state or region name. For US searches, provide this or state_code.
state_codestringTwo-letter US state abbreviation. For US searches, provide this or state.
country_codestringTwo-letter ISO 3166-1 alpha-2 country code. Defaults to US.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate Postal CodePOSTAL_DATA_API_VALIDATE_POSTAL_CODEAcciónCheck 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.
POSTAL_DATA_API_VALIDATE_POSTAL_CODEAcciónCheck 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_codestringObligatorioPostal code to validate. Pass it as a string to preserve leading zeros.
country_codestringTwo-letter ISO 3166-1 alpha-2 country code. Defaults to US.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Validate Postal Codes in BulkPOSTAL_DATA_API_VALIDATE_POSTAL_CODES_BULKAcciónValidate 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.
POSTAL_DATA_API_VALIDATE_POSTAL_CODES_BULKAcciónValidate 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[]ObligatorioBetween 1 and 1,000 postal-code records to validate synchronously.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not