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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/ups-address-validation-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
openapi: 3.2.0
info:
title: UPS Shipping Address Validation API
description: The UPS Shipping API enables developers to create and manage shipments, generate shipping labels, validate addresses, retrieve rates, track packages, schedule pickups, manage returns, and access time-in-transit information. UPS uses OAuth 2.0 with client credentials for authentication.
version: v1
contact:
name: UPS Developer Support
url: https://developer.ups.com/
termsOfService: https://www.ups.com/us/en/help-center/legal-terms-conditions/developer-terms-of-service.page
servers:
- url: https://onlinetools.ups.com/api
description: UPS Production API
- url: https://wwwcie.ups.com/api
description: UPS Customer Integration Environment (CIE - Testing)
security:
- BearerAuth: []
tags:
- name: Address Validation
description: Address validation and standardization
paths:
/addressvalidation/v1/1:
post:
operationId: validateAddressStreetLevel
summary: Validate Address Street Level
description: Validate and standardize a street-level address. Returns whether the address is valid, standardized formatting, and residential/commercial classification.
tags:
- Address Validation
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AddressValidationRequest'
responses:
'200':
description: Address validation response
content:
application/json:
schema:
$ref: '#/components/schemas/AddressValidationResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
components:
schemas:
ErrorResponse:
type: object
properties:
response:
type: object
properties:
errors:
type: array
items:
type: object
properties:
code:
type: string
message:
type: string
AddressValidationRequest:
type: object
required:
- AddressValidationRequest
properties:
AddressValidationRequest:
type: object
properties:
Request:
type: object
properties:
RequestOption:
type: string
enum:
- '1'
- '2'
- '3'
description: 1=Address Validation, 2=Address Classification, 3=Both
AddressKeyFormat:
type: object
required:
- CountryCode
properties:
ConsigneeName:
type: string
AddressLine:
type: array
items:
type: string
PoliticalDivision2:
type: string
description: City
PoliticalDivision1:
type: string
description: State/Province
PostcodePrimaryLow:
type: string
description: ZIP/Postal code
CountryCode:
type: string
AddressValidationResponse:
type: object
properties:
AddressValidationResponse:
type: object
properties:
Response:
type: object
AddressClassification:
type: object
properties:
Code:
type: string
enum:
- '0'
- '1'
- '2'
description: 0=Unknown, 1=Commercial, 2=Residential
Description:
type: string
AddressKeyFormat:
type: object
properties:
AddressLine:
type: array
items:
type: string
PoliticalDivision2:
type: string
PoliticalDivision1:
type: string
PostcodePrimaryLow:
type: string
PostcodeExtendedLow:
type: string
CountryCode:
type: string
responses:
BadRequest:
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
Unauthorized:
description: OAuth token missing or expired
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
securitySchemes:
OAuth2:
type: oauth2
flows:
clientCredentials:
tokenUrl: https://onlinetools.ups.com/api/security/v1/oauth/token
scopes: {}
BearerAuth:
type: http
scheme: bearer
description: OAuth 2.0 bearer token from /security/v1/oauth/token