W2 Document Example is an example object payload from Tax Templates, with 8 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
{
"document_type": "W-2",
"tax_year": 2025,
"issuer": {
"name": "Acme Corporation",
"tin": "12-3456789",
"tin_type": "EIN",
"address": {
"street": "100 Business Blvd",
"city": "Chicago",
"state": "IL",
"zip": "60601",
"country": "US"
}
},
"recipient": {
"name": "John Employee",
"tin": "987-65-4321",
"tin_type": "SSN",
"address": {
"street": "456 Residential Rd",
"city": "Chicago",
"state": "IL",
"zip": "60614",
"country": "US"
},
"account_number": "EMP-10042"
},
"boxes": [
{"box_number": "1", "label": "Wages, tips, other compensation", "amount": 85000.00},
{"box_number": "2", "label": "Federal income tax withheld", "amount": 14450.00},
{"box_number": "3", "label": "Social security wages", "amount": 85000.00},
{"box_number": "4", "label": "Social security tax withheld", "amount": 5270.00},
{"box_number": "5", "label": "Medicare wages and tips", "amount": 85000.00},
{"box_number": "6", "label": "Medicare tax withheld", "amount": 1232.50},
{"box_number": "12a", "label": "Deferred compensation", "amount": 5000.00, "code": "D"},
{"box_number": "16", "label": "State wages", "amount": 85000.00},
{"box_number": "17", "label": "State income tax", "amount": 4675.00}
],
"dates": {
"issue_date": "2026-01-31",
"period_start": "2025-01-01",
"period_end": "2025-12-31",
"due_date": "2026-04-15"
},
"corrections": {
"is_corrected": false
},
"metadata": {
"document_id": "W2-2025-EMP10042",
"created_at": "2026-01-31T10:00:00Z",
"source_system": "AcmeHR Payroll",
"verified": true
}
}
Every example 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 examples
4 MCP tools reach this
find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/w2-document-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no email required.
A second provider on the same verified email joins the account you already have.