# Census variable definition

Definition of one Census Data API variable (label, concept or table title, type, table group, attribute variables), to confirm what a code like 'B19013_001E'. Needs dataset and variable. Served by US Census Bureau.

Definition of one Census Data API variable (label, concept or table title, type, table group, attribute variables), to confirm what a code like 'B19013_001E' or 'DP03_0062E' measures before reading numbers. No key needed.

- Tool ID: `census/variable`
- Provider: [US Census Bureau](/providers/census.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "dataset": {
      "type": "string",
      "minLength": 3,
      "maxLength": 80,
      "pattern": "^([0-9]{4}|timeseries)(/[a-z0-9]+){1,4}$",
      "description": "Dataset path, e.g. '2023/acs/acs5' or '2023/acs/acs1/profile'"
    },
    "variable": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_]{2,40}$",
      "description": "Variable code, e.g. 'B19013_001E' (median household income)"
    }
  },
  "required": [
    "dataset",
    "variable"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "census/variable",
  "input": {
    "dataset": "2023/acs/acs5",
    "variable": "B19013_001E"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Public domain (U.S. Government work); Census Data API Terms of Service.

Attribution: This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau..

[Provider documentation](https://www.census.gov/data/developers/guidance/api-user-guide.html)

[REST inspection](https://api.agentik.cc/v1/tools/census/variable) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/census/variable) · [Agent index](/llms.txt)
