Abstract API · Arazzo Workflow

Abstract API Phone Validation to Local Time

Version 1.0.0

Validate a phone number, then resolve the local time of its region.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AvatarsCompany EnrichmentContactsCurrencyEmail ValidationExchange RatesIBAN ValidationImage ProcessingIP GeolocationIP IntelligencePhone ValidationPublic HolidaysScreenshotsTimezonesVAT ValidationWeb ScrapingArazzoWorkflows

Provider

abstract-api

Workflows

phone-to-timezone
Validate a phone number and resolve the local time of its location.
Validates a phone number and, for a valid number, branches to a current-time lookup keyed on the parsed location so the recipient's local time is known before contact.
2 steps inputs: apiKey, country, phone outputs: localDatetime, location, timezoneName, valid
1
validatePhone
Validate the phone number and retrieve carrier, line type, and parsed location data.
2
getLocalTime
Resolve the current local time for the location parsed from the validated phone number.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Abstract API Phone Validation to Local Time
  summary: Validate a phone number, then resolve the local time of its region.
  description: >-
    A contact-timing flow that validates a phone number with the Phone
    Intelligence API for carrier, line type, and region, and branches: when the
    number is invalid it ends with the verdict, and when it is valid it uses the
    parsed location to look up the current local time so outreach can be timed
    politely. Every step inlines the api_key query parameter and request so the
    flow reads and runs without opening the underlying OpenAPI descriptions.
  version: 1.0.0
sourceDescriptions:
- name: phoneIntelligenceApi
  url: ../openapi/abstract-api-phone-intelligence-api-openapi.yml
  type: openapi
- name: timezonesApi
  url: ../openapi/abstract-api-timezones-api-openapi.yml
  type: openapi
workflows:
- workflowId: phone-to-timezone
  summary: Validate a phone number and resolve the local time of its location.
  description: >-
    Validates a phone number and, for a valid number, branches to a current-time
    lookup keyed on the parsed location so the recipient's local time is known
    before contact.
  inputs:
    type: object
    required:
    - apiKey
    - phone
    properties:
      apiKey:
        type: string
        description: Abstract API key valid for Phone Intelligence and Timezones.
      phone:
        type: string
        description: The phone number to validate, ideally in E.164 format.
      country:
        type: string
        description: Optional ISO country code hint for phone numbers in local format.
  steps:
  - stepId: validatePhone
    description: >-
      Validate the phone number and retrieve carrier, line type, and parsed
      location data.
    operationId: getPhoneIntelligence
    parameters:
    - name: api_key
      in: query
      value: $inputs.apiKey
    - name: phone
      in: query
      value: $inputs.phone
    - name: country
      in: query
      value: $inputs.country
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      valid: $response.body#/valid
      location: $response.body#/location
      carrier: $response.body#/carrier
      lineType: $response.body#/type
    onSuccess:
    - name: phoneValid
      type: goto
      stepId: getLocalTime
      criteria:
      - context: $response.body
        condition: $.valid == true
        type: jsonpath
    - name: phoneInvalid
      type: end
      criteria:
      - context: $response.body
        condition: $.valid == false
        type: jsonpath
  - stepId: getLocalTime
    description: >-
      Resolve the current local time for the location parsed from the validated
      phone number.
    operationId: getCurrentTime
    parameters:
    - name: api_key
      in: query
      value: $inputs.apiKey
    - name: location
      in: query
      value: $steps.validatePhone.outputs.location
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      datetime: $response.body#/datetime
      timezoneName: $response.body#/timezone_name
      gmtOffset: $response.body#/gmt_offset
  outputs:
    valid: $steps.validatePhone.outputs.valid
    location: $steps.validatePhone.outputs.location
    localDatetime: $steps.getLocalTime.outputs.datetime
    timezoneName: $steps.getLocalTime.outputs.timezoneName

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/abstract-api-phone-to-timezone-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.