Autohost Validate API

The Validate API from Autohost — 2 operation(s) for validate.

Operations 2

GET /validate/phone/{number} Validate phone number #
GET /validate/email/{email} Validate email address #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/autohost:autohost-validate-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

autohost-validate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Autohost Validate API
  version: '1'
  description: 'Operations tagged Validate across 2 of this provider''s published API definitions: autohost-openapi.json, developer.autohost.ai_openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Validate
paths:
  /validate/phone/{number}:
    get:
      operationId: validate-phone
      summary: Validate phone number
      description: Ensure that the phone number is valid
      parameters:
      - name: number
        in: path
        description: URL-encoded phone number in international format (e.g. +441234567890)
        required: true
        schema:
          type: string
      - name: country
        in: query
        description: ISO country code (two letters)
        required: false
        allowEmptyValue: false
        schema:
          $ref: '#/components/schemas/QueryParamCountry'
      - name: x-api-key
        in: header
        description: API Authentication Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Phone validation results object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyPhoneResponse'
              examples:
                Valid:
                  value:
                    countryCode: US
                    phoneNumber: '+1234567890'
                    nationalFormat: (123) 456-7890
                Invalid:
                  value:
                    error: Invalid number
        '500':
          description: An error message
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyPhoneResponse'
              examples:
                Valid:
                  value:
                    countryCode: US
                    phoneNumber: '+1234567890'
                    nationalFormat: (123) 456-7890
                Invalid:
                  value:
                    error: Invalid number
      tags:
      - Validate
  /validate/email/{email}:
    get:
      operationId: validate-email
      summary: Validate email address
      description: Ensure that the email address is valid
      parameters:
      - name: email
        in: path
        description: URL encoded email address
        required: true
        schema:
          type: string
      - name: x-api-key
        in: header
        description: API Authentication Key
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Email validation results object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyEmailResponse'
              examples:
                Valid:
                  value:
                    status: VALID
                Invalid:
                  value:
                    status: INVALID
        '500':
          description: An error message
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Validate
components:
  schemas:
    VerifyEmailResponse:
      properties:
        status:
          type: string
    ErrorResponse:
      properties:
        error:
          type: string
    QueryParamCountry:
      type: string
    VerifyPhoneResponse:
      properties:
        countryCode:
          type: string
        phoneNumber:
          type: string
        nationalFormat:
          type: string
        error:
          type: string
x-refined-from:
- autohost-openapi.json
- developer.autohost.ai_openapi.json