X (Twitter) · Schema
Poll
Represent a Poll attached to a Tweet.
Social-MediaMicrobloggingReal-Time DataStreamingAdvertisingContent
Properties
| Name | Type | Description |
|---|---|---|
| duration_minutes | integer | |
| end_datetime | string | |
| id | string | Unique identifier of this poll. |
| options | array | |
| voting_status | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/twitter/refs/heads/main/json-schema/x-api-poll-schema.json",
"title": "Poll",
"description": "Represent a Poll attached to a Tweet.",
"type": "object",
"properties": {
"duration_minutes": {
"type": "integer",
"minimum": 5,
"maximum": 10080,
"format": "int32"
},
"end_datetime": {
"type": "string",
"format": "date-time"
},
"id": {
"type": "string",
"description": "Unique identifier of this poll.",
"pattern": "^[0-9]{1,19}$",
"example": "1365059861688410112"
},
"options": {
"type": "array",
"minItems": 2,
"maxItems": 4,
"items": {
"$ref": "#/components/schemas/PollOption"
}
},
"voting_status": {
"type": "string",
"enum": [
"open",
"closed"
]
}
},
"required": [
"id",
"options"
]
}
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/x-api-poll"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.