United States Postal Service · Schema
Pagination Metadata
Standard error message response.
GovernmentPostal ServiceShippingLogisticsAddress ValidationPackage Tracking
Properties
| Name | Type | Description |
|---|---|---|
| totalCount | integer | Total number of resources return in the API request. |
| page | integer | The current page number. |
| totalPages | integer | Total number of pages, based on the user provided limit and [totalCount] |
| limit | integer | The number of resources returned per call, based on the user provided limit |
| offset | integer | The current offset, based on the user provided offset |
| links | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/usps/json-schema/usps-pagination-metadata-schema.json",
"title": "Pagination Metadata",
"description": "Standard error message response.",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/usps-locations-openapi.yml#/components/schemas/PaginationMetadata",
"required": [
"limit",
"offset"
],
"type": "object",
"properties": {
"totalCount": {
"type": "integer",
"description": "Total number of resources return in the API request."
},
"page": {
"type": "integer",
"description": "The current page number."
},
"totalPages": {
"type": "integer",
"description": "Total number of pages, based on the user provided limit and [totalCount]"
},
"limit": {
"type": "integer",
"description": "The number of resources returned per call, based on the user provided limit"
},
"offset": {
"type": "integer",
"description": "The current offset, based on the user provided offset"
},
"links": {
"$ref": "#/$defs/Links"
}
},
"additionalProperties": false,
"$defs": {
"Links": {
"title": "Hypermedia Links",
"type": "array",
"description": "Hypermedia links to related resources.",
"items": {
"required": [
"href",
"rel"
],
"type": "object",
"properties": {
"rel": {
"type": "array",
"description": "The short name(s) of the relationship corresponding to the link.",
"items": {
"type": "string"
}
},
"title": {
"type": "string",
"description": "A human-readable description of the link relationship."
},
"href": {
"type": "string",
"description": "The URL to a related resource.",
"format": "uri"
},
"method": {
"type": "string",
"description": "The HTTP method to use to access this link.",
"enum": [
"GET",
"POST",
"PUT",
"DELETE"
]
},
"submissionMediaType": {
"type": "string",
"description": "The media type of the resource request."
},
"targetMediaType": {
"type": "string",
"description": "The media type of the resource response."
},
"description": {
"type": "string",
"description": "A human-readable description of the link relationship."
},
"publishDate": {
"type": "string",
"format": "date-time",
"description": "The date and time the file was published. The date and time will be returned in UTC (Zulu) format."
}
},
"additionalProperties": false
}
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/usps-pagination-metadata"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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.