YYYY-MM-DDTHH:mm:ssZ. The oldest UTC timestamp (from most recent 7 days) from which the Posts will be provided. Timestamp is in second granularity and is inclusive (i.e. 12:00:01 includes the first second of the minute).
YYYY-MM-DDTHH:mm:ssZ. The newest, most recent UTC timestamp to which the Posts will be provided. Timestamp is in second granularity and is exclusive (i.e. 12:00:01 excludes the first second of the minute).
Returns results with a Post ID greater than (that is, more recent than) the specified ID.
Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Returns results with a Post ID less than (that is, older than) the specified ID.
Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
A base36 pagination token.
This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.
A base36 pagination token.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"X","colors":{"primary":"#0E0E0E","light":"#B0B0B0","dark":"#0E0E0E"},"logo":{"light":"https://mintcdn.com/generaltranslation/p-tsc5qa00w8y5M4/logo/light.svg?fit=max\u0026auto=format\u0026n=p-tsc5qa00w8y5M4\u0026q=85\u0026s=299a991122fb35a82f868bc62a8be1ae","dark":"https://mintcdn.com/generaltranslation/p-tsc5qa00w8y5M4/logo/dark.svg?fit=max\u0026auto=format\u0026n=p-tsc5qa00w8y5M4\u0026q=85\u0026s=06e5086f68ab588cc44787b665898b75"},"favicon":"/favicon.png","appearance":{"default":"dark","strict":true},"background":{"color":{"dark":"#050505"}},"navbar":{"links":[{"href":"https://developer.x.com/en/support","label":"Support"}],"primary":{"type":"button","label":"Developer Console","href":"https://developer.x.com/en/portal/petition/essential/basic-info"}},"footer":{"socials":{"x":"https://x.com/xdevelopers","github":"https://github.com/xdevplatform"},"links":[{"header":"Legal","items":[{"label":"Terms of Service","href":"https://x.com/en/tos"},{"label":"Privacy Policy","href":"https://x.com/en/privacy"},{"label":"Cookies","href":"https://help.x.com/en/rules-and-policies/x-cookies"},{"label":"Developer Terms","href":"https://docs.x.com/developer-terms"}]}]},"seo":{"metatags":{"canonical":"https://docs.x.com","og:site_name":"X Developer Platform","og:type":"website","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@xdevelopers","description":"Build, analyze, and innovate with X's real-time, global data and APIs. Access comprehensive API documentation, SDKs, tutorials, and developer tools.","author":"X Developer Platform","language":"en","robots":"index, follow","googlebot":"index, follow"},"indexing":"all"},"contextual":{"options":["copy","view",{"title":"Open in Grok","description":"Ask questions about this page","icon":"/logo/grok.svg","href":{"base":"https://grok.com","query":[{"key":"q","value":"Read from https://docs.x.com$path so I can ask questions about it."}]}}],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"overview"},{"language":"es","href":"es/overview"},{"language":"fr","href":"fr/overview"},{"language":"hi","href":"hi/overview"},{"language":"ja","href":"ja/overview"},{"language":"ko","href":"ko/overview"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"generaltranslation","hasAudioNarration":false,"actualSubdomain":"generaltranslation","customDomains":[],"gitSource":{"type":"github","owner":"fernando-aviles","repo":"x-docs","deployBranch":"locadex/setup-1769989792329","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae92afb0a94bfe43457bdcb:success","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"en","tag":"API Reference","count":371},{"language":"es","tag":"Referencia de la API","count":371},{"language":"fr","tag":"Référence de l’API","count":371},{"language":"hi","tag":"API संदर्भ","count":371},{"language":"ja","tag":"APIリファレンス","count":371},{"language":"ko","tag":"API 참조 문서","count":371},{"language":"en","tag":"TypeScript SDK","count":315},{"language":"es","tag":"SDK de TypeScript","count":315},{"language":"fr","tag":"SDK TypeScript","count":315},{"language":"hi","tag":"TypeScript SDK","count":315},{"language":"ja","tag":"TypeScript SDK","count":315},{"language":"ko","tag":"TypeScript SDK","count":315},{"language":"en","tag":"X API","count":295},{"language":"es","tag":"X API","count":294},{"language":"fr","tag":"X API","count":294},{"language":"hi","tag":"X API","count":294},{"language":"ja","tag":"X API","count":294},{"language":"ko","tag":"X API","count":294},{"language":"en","tag":"Interfaces","count":284},{"language":"es","tag":"Interfaces","count":284},{"language":"fr","tag":"Interfaces","count":284},{"language":"hi","tag":"इंटरफेस","count":284},{"language":"ja","tag":"インターフェイス","count":284},{"language":"ko","tag":"인터페이스","count":284},{"language":"en","tag":"Misc","count":281},{"language":"es","tag":"Varios","count":281},{"language":"fr","tag":"Divers","count":281},{"language":"hi","tag":"विविध","count":281},{"language":"ja","tag":"その他","count":281},{"language":"ko","tag":"기타","count":281},{"language":"en","tag":"Posts","count":78},{"language":"es","tag":"Publicaciones","count":78},{"language":"fr","tag":"Publications","count":78},{"language":"hi","tag":"पोस्ट्स","count":78},{"language":"ja","tag":"投稿","count":78},{"language":"ko","tag":"포스트","count":78},{"language":"en","tag":"Guides","count":76},{"language":"es","tag":"Guías","count":76},{"language":"fr","tag":"Guides","count":76},{"language":"ja","tag":"ガイド","count":76},{"language":"ko","tag":"가이드","count":76},{"language":"en","tag":"Python SDK","count":67},{"language":"es","tag":"SDK de Python","count":67},{"language":"fr","tag":"SDK Python","count":67},{"language":"hi","tag":"Python SDK","count":67},{"language":"ja","tag":"Python SDK","count":67},{"language":"ko","tag":"Python SDK","count":67},{"language":"en","tag":"Fundamentals","count":56},{"language":"hi","tag":"मार्गदर्शिकाएँ","count":50},{"language":"es","tag":"Conceptos básicos","count":43},{"language":"ko","tag":"기본 개념","count":43},{"language":"en","tag":"Lists","count":40},{"language":"es","tag":"Listas","count":40},{"language":"fr","tag":"Listes","count":40},{"language":"hi","tag":"सूचियाँ","count":40},{"language":"ja","tag":"リスト","count":40},{"language":"ko","tag":"리스트","count":40},{"language":"hi","tag":"बुनियादी बातें","count":39},{"language":"fr","tag":"Accueil","count":37},{"language":"ja","tag":"ホーム","count":37}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:\"GraphikWide\";src:url(\"https://mintlify-assets.b-cdn.net/x/GraphikWide-Semibold-Trial.woff\") format(\"woff\");font-weight:600}.font-branded,h1,h2,h3{font-family:\"GraphikWide\";letter-spacing:-1%}.form{padding:15px;width:100%;min-height:300px;overflow-y:auto}.rate-limit-table th{text-align:left}tr td[data-label=\"Endpoint\"] a{font-size:12px}tr td[data-label=\"Pro Limit\"],tr td[data-label=\"Basic Limit\"],tr td[data-label=\"Free Limit\"]{font-size:12px}td[data-label=\"Pro Limit\"] strong,td[data-label=\"Basic Limit\"] strong,td[data-label=\"Free Limit\"] strong{margin-bottom:8px;display:block}.text-hero{color:white;font-weight:600;font-size:3rem;margin:0}@media (max-width: 767px){.text-hero{font-size:2rem}}#assistant-entry span{font-size:0!important;line-height:0!important}#assistant-entry span::before{content:\"Ask Grok\";font-size:0.875rem;line-height:1.5rem}#assistant-entry svg{display:none!important}#assistant-entry::before{content:\"\";display:inline-block;width:18px;height:18px;background-image:url(\"data:image/svg+xml,%3Csvg fill='%23000000' fill-rule='evenodd' height='1em' style='flex:none;line-height:1' viewBox='0 0 24 24' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGrok%3C/title%3E%3Cpath d='M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:contain;vertical-align:middle}.dark #assistant-entry::before{background-image:url(\"data:image/svg+xml,%3Csvg fill='%23ffffff' fill-rule='evenodd' height='1em' style='flex:none;line-height:1' viewBox='0 0 24 24' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGrok%3C/title%3E%3Cpath d='M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815'/%3E%3C/svg%3E\")}.chat-assistant-sheet-header span.font-semibold{font-size:0!important}.chat-assistant-sheet-header span.font-semibold::before{content:\"Grok\";font-size:0.875rem;font-weight:600}.chat-assistant-sheet-header svg.size-5.text-primary.dark\\:text-primary-light{display:none!important}.chat-assistant-sheet-header .flex.items-center.gap-2::before{content:\"\";display:inline-block;width:18px;height:18px;background-image:url(\"data:image/svg+xml,%3Csvg fill='%23000000' fill-rule='evenodd' height='1em' style='flex:none;line-height:1' viewBox='0 0 24 24' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGrok%3C/title%3E%3Cpath d='M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815'/%3E%3C/svg%3E\");background-repeat:no-repeat;background-size:contain;vertical-align:middle}.dark .chat-assistant-sheet-header .flex.items-center.gap-2::before{background-image:url(\"data:image/svg+xml,%3Csvg fill='%23ffffff' fill-rule='evenodd' height='1em' style='flex:none;line-height:1' viewBox='0 0 24 24' width='1em' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EGrok%3C/title%3E%3Cpath d='M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815'/%3E%3C/svg%3E\")}[data-component-part=\"update-label\"]{background-color:white;color:black!important}#navbar>*:nth-child(2){max-width:none!important;margin-left:0!important;margin-right:0!important}#sidebar{left:0!important}#sidebar-content{padding-left:2rem}#injected-slider{max-width:400px}#cost-estimator-button{position:relative}#cost-estimator-dropdown{min-width:400px;box-shadow:0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)}#usage-slider{-webkit-appearance:none;appearance:none;height:6px;background:#e5e7eb;outline:none;border-radius:3px}.dark #usage-slider{background:rgba(255, 255, 255, 0.1)}#usage-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:16px;height:16px;background:white;border:2px solid #00BA7C;border-radius:50%;cursor:pointer}.dark #usage-slider::-webkit-slider-thumb{background:#0B0C0E}#usage-slider::-moz-range-thumb{width:16px;height:16px;background:white;border:2px solid #00BA7C;border-radius:50%;cursor:pointer}.dark #usage-slider::-moz-range-thumb{background:#0B0C0E}"}],"page":{"pagePath":"x-api/posts/get-count-of-recent-posts","slug":"/x-api/posts/get-count-of-recent-posts","pageMetadata":{"openapi":"/openapi.json GET /2/tweets/counts/recent","title":"Get count of recent Posts","description":"Retrieves the count of Posts from the last 7 days matching a search query.","href":"/x-api/posts/get-count-of-recent-posts"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieves the count of Posts from the last 7 days matching a search query.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"/openapi.json GET /2/tweets/counts/recent","title":"Get count of recent Posts","description":"Retrieves the count of Posts from the last 7 days matching a search query.","href":"/x-api/posts/get-count-of-recent-posts"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/generaltranslation/f67e695317871503/widgets.js","/_mintlify/custom/generaltranslation/dd4721d49d6e0698/sliders.js"],"openApiReferenceData":{"operation":{"security":["9cdbfd78-a6e7-4afc-9c12-d93e897d820b"],"tags":["Tweets"],"summary":"Get count of recent Posts","description":"Retrieves the count of Posts from the last 7 days matching a search query.","externalDocs":{"url":"https://developer.twitter.com/en/docs/twitter-api/tweets/counts/api-reference/get-tweets-counts-recent"},"operationId":"getPostsCountsRecent","parameters":["8df57e9c-db00-4fb9-ab72-d010ddaf86c3","2976d594-a51f-4a2f-9e34-4e92777317be","54435d2c-23c8-4434-8a55-7122cd7eb9f8","460bbfc4-0899-44ee-a506-88299c937c99","88e5e0b6-84bb-420d-9802-79c29359ccab","338337df-f117-44f7-8f73-6ec257300b62","e9e2697b-c806-4654-8c9c-8b507e1108a0","f2b4ee18-af49-40b4-84c3-d796f63e8a97","f56b55c1-03f7-4bee-9309-a2722b9b1758"],"responses":{"200":"08d453d4-f2ba-46c7-8a4b-afc5e1958d7d","default":"20d535ee-edd7-4927-a7d1-9b6acf2767c2"},"method":"get","type":"path","servers":["b201893a-f26d-4c51-867c-282c23f32131"],"path":"/2/tweets/counts/recent","baseUrlOptions":["https://api.x.com"],"title":"Get count of recent Posts","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8df57e9c-db00-4fb9-ab72-d010ddaf86c3":{"name":"query","in":"query","description":"One query/rule/filter for matching Posts. Refer to https://t.co/rulelength to identify the max query length.","required":true,"schema":{"type":"string","minLength":1,"maxLength":4096,"example":"(from:TwitterDev OR from:TwitterAPI) has:media -is:retweet","isRequired":true,"description":"One query/rule/filter for matching Posts. Refer to https://t.co/rulelength to identify the max query length.","uniqueKey":"","typeLabel":"string"},"style":"form"},"2976d594-a51f-4a2f-9e34-4e92777317be":{"name":"start_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The oldest UTC timestamp (from most recent 7 days) from which the Posts will be provided. Timestamp is in second granularity and is inclusive (i.e. 12:00:01 includes the first second of the minute).","required":false,"schema":{"type":"string","format":"date-time","isRequired":false,"description":"YYYY-MM-DDTHH:mm:ssZ. The oldest UTC timestamp (from most recent 7 days) from which the Posts will be provided. Timestamp is in second granularity and is inclusive (i.e. 12:00:01 includes the first second of the minute).","uniqueKey":"","typeLabel":"string\u003cdate-time>"},"style":"form"},"54435d2c-23c8-4434-8a55-7122cd7eb9f8":{"name":"end_time","in":"query","description":"YYYY-MM-DDTHH:mm:ssZ. The newest, most recent UTC timestamp to which the Posts will be provided. Timestamp is in second granularity and is exclusive (i.e. 12:00:01 excludes the first second of the minute).","required":false,"schema":{"type":"string","format":"date-time","isRequired":false,"description":"YYYY-MM-DDTHH:mm:ssZ. The newest, most recent UTC timestamp to which the Posts will be provided. Timestamp is in second granularity and is exclusive (i.e. 12:00:01 excludes the first second of the minute).","uniqueKey":"","typeLabel":"string\u003cdate-time>"},"style":"form"},"460bbfc4-0899-44ee-a506-88299c937c99":{"name":"since_id","in":"query","description":"Returns results with a Post ID greater than (that is, more recent than) the specified ID.","required":false,"schema":{"type":"string","description":"Returns results with a Post ID greater than (that is, more recent than) the specified ID.\nUnique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.","pattern":"^[0-9]{1,19}$","example":"1346889436626259968","isRequired":false,"uniqueKey":"","typeLabel":"string"},"style":"form"},"88e5e0b6-84bb-420d-9802-79c29359ccab":{"name":"until_id","in":"query","description":"Returns results with a Post ID less than (that is, older than) the specified ID.","required":false,"schema":{"type":"string","description":"Returns results with a Post ID less than (that is, older than) the specified ID.\nUnique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.","pattern":"^[0-9]{1,19}$","example":"1346889436626259968","isRequired":false,"uniqueKey":"","typeLabel":"string"},"style":"form"},"338337df-f117-44f7-8f73-6ec257300b62":{"name":"next_token","in":"query","description":"This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.","required":false,"schema":{"type":"string","description":"This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.\nA base36 pagination token.","minLength":1,"isRequired":false,"uniqueKey":"","typeLabel":"string"},"style":"form"},"e9e2697b-c806-4654-8c9c-8b507e1108a0":{"name":"pagination_token","in":"query","description":"This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.","required":false,"schema":{"type":"string","description":"This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.\nA base36 pagination token.","minLength":1,"isRequired":false,"uniqueKey":"","typeLabel":"string"},"style":"form"},"f2b4ee18-af49-40b4-84c3-d796f63e8a97":{"name":"granularity","in":"query","description":"The granularity for the search counts results.","required":false,"schema":{"type":"string","enum":["minute","hour","day"],"default":"hour","isRequired":false,"description":"The granularity for the search counts results.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"style":"form"},"f56b55c1-03f7-4bee-9309-a2722b9b1758":{"name":"search_count.fields","in":"query","description":"A comma separated list of SearchCount fields to display.","required":false,"schema":{"type":"array","description":"A comma separated list of SearchCount fields to display.\nThe fields available for a SearchCount object.","minItems":1,"uniqueItems":true,"items":{"type":"string","enum":["end","start","tweet_count"],"uniqueKey":"items.[INDEX]","typeLabel":"enum\u003cstring>"},"example":["end","start","tweet_count"],"isRequired":false,"uniqueKey":"","typeLabel":"enum\u003cstring>[]"},"explode":false,"style":"form"}},"responses":{"08d453d4-f2ba-46c7-8a4b-afc5e1958d7d":{"description":"The request has succeeded.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","minItems":1,"items":{"type":"object","description":"Represent a Search Count Result.","required":["end","start","tweet_count"],"properties":{"end":{"type":"string","description":"The end time of the bucket.","format":"date-time","isRequired":true,"uniqueKey":"data.items.[INDEX].end","typeLabel":"string\u003cdate-time>"},"start":{"type":"string","description":"The start time of the bucket.","format":"date-time","isRequired":true,"uniqueKey":"data.items.[INDEX].start","typeLabel":"string\u003cdate-time>"},"tweet_count":{"type":"integer","description":"The count for the bucket.","isRequired":true,"uniqueKey":"data.items.[INDEX].tweet_count","typeLabel":"integer"}},"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data","typeLabel":"object[]"},"errors":{"type":"array","minItems":1,"items":{"oneOf":[{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.0.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.0.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.0.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.0.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.1.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.1.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.1.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.1.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.1","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.2.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.2.type","typeLabel":"string"},"reason":{"type":"string","enum":["official-client-forbidden","client-not-enrolled"],"uniqueKey":"errors.items.[INDEX].oneOf.2.reason","typeLabel":"enum\u003cstring>"},"registration_url":{"type":"string","format":"uri","uniqueKey":"errors.items.[INDEX].oneOf.2.registration_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.2.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.2.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.2","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.3.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.3.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.3.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.3.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.3","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title","resource_id","resource_type","section"],"properties":{"resource_id":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.4.resource_id","typeLabel":"string"},"resource_type":{"type":"string","enum":["user","tweet","media","list","space"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.4.resource_type","typeLabel":"enum\u003cstring>"},"section":{"type":"string","enum":["data","includes"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.4.section","typeLabel":"enum\u003cstring>"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.4.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.4.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.4.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.4.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.4","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.5.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.5.type","typeLabel":"string"},"id":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.5.id","typeLabel":"string"},"value":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.5.value","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.5.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.5.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.5","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.6.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.6.type","typeLabel":"string"},"errors":{"type":"array","minItems":1,"items":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.6.errors.items.[INDEX].message","typeLabel":"string"},"parameters":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.6.errors.items.[INDEX].parameters.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"errors.items.[INDEX].oneOf.6.errors.items.[INDEX].parameters.additionalProperties","typeLabel":"string[]"},"uniqueKey":"errors.items.[INDEX].oneOf.6.errors.items.[INDEX].parameters","typeLabel":"object"}},"uniqueKey":"errors.items.[INDEX].oneOf.6.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors.items.[INDEX].oneOf.6.errors","typeLabel":"object[]"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.6.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.6.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.6","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.7.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.7.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.7.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.7.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.8.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.8.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.8.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.8.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.8","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title","resource_type","field","section"],"properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.9.field","typeLabel":"string"},"resource_type":{"type":"string","enum":["user","tweet","media","list","space"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.9.resource_type","typeLabel":"enum\u003cstring>"},"section":{"type":"string","enum":["data","includes"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.9.section","typeLabel":"enum\u003cstring>"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.9.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.9.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.9.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.9.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.9","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title","value","resource_id","resource_type","section","parameter"],"properties":{"parameter":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.10.parameter","typeLabel":"string"},"resource_id":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.10.resource_id","typeLabel":"string"},"resource_type":{"type":"string","enum":["user","tweet","media","list","space"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.10.resource_type","typeLabel":"enum\u003cstring>"},"section":{"type":"string","enum":["data","includes"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.10.section","typeLabel":"enum\u003cstring>"},"value":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.10.value","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.10.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.10.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.10.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.10.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.10","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.11.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.11.type","typeLabel":"string"},"disconnect_type":{"type":"string","enum":["OperationalDisconnect","UpstreamOperationalDisconnect","ForceDisconnect","UpstreamUncleanDisconnect","SlowReader","InternalError","ClientApplicationStateDegraded","InvalidRules"],"uniqueKey":"errors.items.[INDEX].oneOf.11.disconnect_type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.11.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.11.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.11","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title","parameter","value","resource_id","resource_type"],"properties":{"parameter":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.12.parameter","typeLabel":"string"},"resource_id":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.12.resource_id","typeLabel":"string"},"resource_type":{"type":"string","enum":["user","tweet","media","list","space"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.12.resource_type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Value will match the schema of the field.","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.12.value","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.12.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.12.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.12.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.12.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.12","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title","parameter","resource_id","resource_type"],"properties":{"parameter":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.13.parameter","typeLabel":"string"},"resource_id":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.13.resource_id","typeLabel":"string"},"resource_type":{"type":"string","enum":["user","tweet","media","list","space"],"isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.13.resource_type","typeLabel":"enum\u003cstring>"},"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.13.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.13.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.13.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.13.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.13","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.14.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.14.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.14.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.14.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.14","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.15.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.15.type","typeLabel":"string"},"connection_issue":{"type":"string","enum":["TooManyConnections","ProvisioningSubscription","RuleConfigurationIssue","RulesInvalidIssue"],"uniqueKey":"errors.items.[INDEX].oneOf.15.connection_issue","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.15.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.15.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.15","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.16.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.16.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.16.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.16.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.16","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.17.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"errors.items.[INDEX].oneOf.17.type","typeLabel":"string"},"period":{"type":"string","enum":["Daily","Monthly"],"uniqueKey":"errors.items.[INDEX].oneOf.17.period","typeLabel":"enum\u003cstring>"},"scope":{"type":"string","enum":["Account","Product"],"uniqueKey":"errors.items.[INDEX].oneOf.17.scope","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","uniqueKey":"errors.items.[INDEX].oneOf.17.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"errors.items.[INDEX].oneOf.17.status","typeLabel":"integer"}},"uniqueKey":"errors.items.[INDEX].oneOf.17","typeLabel":"object"}],"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"meta":{"type":"object","properties":{"newest_id":{"type":"string","description":"The newest id in this response.","uniqueKey":"meta.newest_id","typeLabel":"string"},"next_token":{"type":"string","description":"The next token.","minLength":1,"uniqueKey":"meta.next_token","typeLabel":"string"},"oldest_id":{"type":"string","description":"The oldest id in this response.","uniqueKey":"meta.oldest_id","typeLabel":"string"},"total_tweet_count":{"type":"integer","description":"The sum of results returned in this response.","format":"int32","uniqueKey":"meta.total_tweet_count","typeLabel":"integer\u003cint32>"}},"uniqueKey":"meta","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":[{"end":"2023-11-07T05:31:56Z","start":"2023-11-07T05:31:56Z","tweet_count":123}],"errors":[{"title":"\u003cstring>","type":"\u003cstring>","detail":"\u003cstring>","status":123}],"meta":{"newest_id":"\u003cstring>","next_token":"\u003cstring>","oldest_id":"\u003cstring>","total_tweet_count":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"20d535ee-edd7-4927-a7d1-9b6acf2767c2":{"description":"The request has failed.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"integer","format":"int32","isRequired":true,"uniqueKey":"code","typeLabel":"integer\u003cint32>"},"message":{"type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":123,"message":"\u003cstring>"}}},"exampleType":"generated"},"application/problem+json":{"schema":{"oneOf":[{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.0.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.0.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.0.status","typeLabel":"integer"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.1.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.1.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.1.status","typeLabel":"integer"}},"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.2.type","typeLabel":"string"},"reason":{"type":"string","enum":["official-client-forbidden","client-not-enrolled"],"uniqueKey":"oneOf.2.reason","typeLabel":"enum\u003cstring>"},"registration_url":{"type":"string","format":"uri","uniqueKey":"oneOf.2.registration_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","uniqueKey":"oneOf.2.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.2.status","typeLabel":"integer"}},"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.3.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.3.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.3.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.3.status","typeLabel":"integer"}},"uniqueKey":"oneOf.3","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title","resource_id","resource_type","section"],"properties":{"resource_id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.4.resource_id","typeLabel":"string"},"resource_type":{"type":"string","enum":["user","tweet","media","list","space"],"isRequired":true,"uniqueKey":"oneOf.4.resource_type","typeLabel":"enum\u003cstring>"},"section":{"type":"string","enum":["data","includes"],"isRequired":true,"uniqueKey":"oneOf.4.section","typeLabel":"enum\u003cstring>"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.4.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.4.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.4.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.4.status","typeLabel":"integer"}},"uniqueKey":"oneOf.4","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.5.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.5.type","typeLabel":"string"},"id":{"type":"string","uniqueKey":"oneOf.5.id","typeLabel":"string"},"value":{"type":"string","uniqueKey":"oneOf.5.value","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.5.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.5.status","typeLabel":"integer"}},"uniqueKey":"oneOf.5","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.6.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.6.type","typeLabel":"string"},"errors":{"type":"array","minItems":1,"items":{"type":"object","properties":{"message":{"type":"string","uniqueKey":"oneOf.6.errors.items.[INDEX].message","typeLabel":"string"},"parameters":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.6.errors.items.[INDEX].parameters.additionalProperties.items.[INDEX]","typeLabel":"string"},"uniqueKey":"oneOf.6.errors.items.[INDEX].parameters.additionalProperties","typeLabel":"string[]"},"uniqueKey":"oneOf.6.errors.items.[INDEX].parameters","typeLabel":"object"}},"uniqueKey":"oneOf.6.errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.6.errors","typeLabel":"object[]"},"detail":{"type":"string","uniqueKey":"oneOf.6.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.6.status","typeLabel":"integer"}},"uniqueKey":"oneOf.6","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.7.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.7.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.7.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.7.status","typeLabel":"integer"}},"uniqueKey":"oneOf.7","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.8.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.8.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.8.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.8.status","typeLabel":"integer"}},"uniqueKey":"oneOf.8","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title","resource_type","field","section"],"properties":{"field":{"type":"string","isRequired":true,"uniqueKey":"oneOf.9.field","typeLabel":"string"},"resource_type":{"type":"string","enum":["user","tweet","media","list","space"],"isRequired":true,"uniqueKey":"oneOf.9.resource_type","typeLabel":"enum\u003cstring>"},"section":{"type":"string","enum":["data","includes"],"isRequired":true,"uniqueKey":"oneOf.9.section","typeLabel":"enum\u003cstring>"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.9.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.9.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.9.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.9.status","typeLabel":"integer"}},"uniqueKey":"oneOf.9","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title","value","resource_id","resource_type","section","parameter"],"properties":{"parameter":{"type":"string","isRequired":true,"uniqueKey":"oneOf.10.parameter","typeLabel":"string"},"resource_id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.10.resource_id","typeLabel":"string"},"resource_type":{"type":"string","enum":["user","tweet","media","list","space"],"isRequired":true,"uniqueKey":"oneOf.10.resource_type","typeLabel":"enum\u003cstring>"},"section":{"type":"string","enum":["data","includes"],"isRequired":true,"uniqueKey":"oneOf.10.section","typeLabel":"enum\u003cstring>"},"value":{"type":"string","isRequired":true,"uniqueKey":"oneOf.10.value","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.10.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.10.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.10.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.10.status","typeLabel":"integer"}},"uniqueKey":"oneOf.10","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.11.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.11.type","typeLabel":"string"},"disconnect_type":{"type":"string","enum":["OperationalDisconnect","UpstreamOperationalDisconnect","ForceDisconnect","UpstreamUncleanDisconnect","SlowReader","InternalError","ClientApplicationStateDegraded","InvalidRules"],"uniqueKey":"oneOf.11.disconnect_type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","uniqueKey":"oneOf.11.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.11.status","typeLabel":"integer"}},"uniqueKey":"oneOf.11","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title","parameter","value","resource_id","resource_type"],"properties":{"parameter":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.12.parameter","typeLabel":"string"},"resource_id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.12.resource_id","typeLabel":"string"},"resource_type":{"type":"string","enum":["user","tweet","media","list","space"],"isRequired":true,"uniqueKey":"oneOf.12.resource_type","typeLabel":"enum\u003cstring>"},"value":{"type":"string","description":"Value will match the schema of the field.","isRequired":true,"uniqueKey":"oneOf.12.value","typeLabel":"string"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.12.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.12.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.12.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.12.status","typeLabel":"integer"}},"uniqueKey":"oneOf.12","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title","parameter","resource_id","resource_type"],"properties":{"parameter":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"oneOf.13.parameter","typeLabel":"string"},"resource_id":{"type":"string","isRequired":true,"uniqueKey":"oneOf.13.resource_id","typeLabel":"string"},"resource_type":{"type":"string","enum":["user","tweet","media","list","space"],"isRequired":true,"uniqueKey":"oneOf.13.resource_type","typeLabel":"enum\u003cstring>"},"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.13.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.13.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.13.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.13.status","typeLabel":"integer"}},"uniqueKey":"oneOf.13","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.14.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.14.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.14.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.14.status","typeLabel":"integer"}},"uniqueKey":"oneOf.14","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.15.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.15.type","typeLabel":"string"},"connection_issue":{"type":"string","enum":["TooManyConnections","ProvisioningSubscription","RuleConfigurationIssue","RulesInvalidIssue"],"uniqueKey":"oneOf.15.connection_issue","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","uniqueKey":"oneOf.15.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.15.status","typeLabel":"integer"}},"uniqueKey":"oneOf.15","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.16.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.16.type","typeLabel":"string"},"detail":{"type":"string","uniqueKey":"oneOf.16.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.16.status","typeLabel":"integer"}},"uniqueKey":"oneOf.16","typeLabel":"object"},{"type":"object","description":"An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).","required":["type","title"],"properties":{"title":{"type":"string","isRequired":true,"uniqueKey":"oneOf.17.title","typeLabel":"string"},"type":{"type":"string","isRequired":true,"uniqueKey":"oneOf.17.type","typeLabel":"string"},"period":{"type":"string","enum":["Daily","Monthly"],"uniqueKey":"oneOf.17.period","typeLabel":"enum\u003cstring>"},"scope":{"type":"string","enum":["Account","Product"],"uniqueKey":"oneOf.17.scope","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","uniqueKey":"oneOf.17.detail","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"oneOf.17.status","typeLabel":"integer"}},"uniqueKey":"oneOf.17","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"title":"\u003cstring>","type":"\u003cstring>","detail":"\u003cstring>","status":123}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"9cdbfd78-a6e7-4afc-9c12-d93e897d820b":{"BearerToken":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"b201893a-f26d-4c51-867c-282c23f32131":{"description":"X API","url":"https://api.x.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerToken","name":"Authorization"}],"title":"BearerToken"}]},"originalFileLocation":"openapi.json"},"subdomain":"generaltranslation","siteName":"X","title":"Get count of recent Posts - X","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/x-api/posts/get-count-of-recent-posts","matchLevel":0},"es":{"href":"/es/x-api/posts/get-count-of-recent-posts","matchLevel":1},"fr":{"href":"/fr/x-api/posts/get-count-of-recent-posts","matchLevel":1},"hi":{"href":"/hi/x-api/posts/get-count-of-recent-posts","matchLevel":1},"ja":{"href":"/ja/x-api/posts/get-count-of-recent-posts","matchLevel":1},"ko":{"href":"/ko/x-api/posts/get-count-of-recent-posts","matchLevel":1}}},"originalFileLocation":"x-api/posts/get-count-of-recent-posts.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"dark\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieves the count of Posts from the last 7 days matching a search query.\">\u003cmeta data-mint-head name=\"application-name\" content=\"X\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get count of recent Posts - X\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieves the count of Posts from the last 7 days matching a search query.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"X Developer Platform\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.x.com/x-api/posts/get-count-of-recent-posts\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://generaltranslation.mintlify.site/_mintlify/api/og/v2?division=Post+Counts\u0026amp;title=Get+count+of+recent+Posts\u0026amp;description=Retrieves+the+count+of+Posts+from+the+last+7+days+matching+a+search+query.\u0026amp;theme=3199bd2c292b5ac8dc3f7441\u0026amp;signature=610da146cfb05391cf7a750f02ce1ab7b55735b380fb19a7df86ed2d064d90b6\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get count of recent Posts - X\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieves the count of Posts from the last 7 days matching a search query.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://generaltranslation.mintlify.site/_mintlify/api/og/v2?division=Post+Counts\u0026amp;title=Get+count+of+recent+Posts\u0026amp;description=Retrieves+the+count+of+Posts+from+the+last+7+days+matching+a+search+query.\u0026amp;theme=3199bd2c292b5ac8dc3f7441\u0026amp;signature=610da146cfb05391cf7a750f02ce1ab7b55735b380fb19a7df86ed2d064d90b6\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/generaltranslation/3OgqNYd4DMBAanRo/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"X\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0E0E0E\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"X Developer Platform\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.x.com/x-api/posts/get-count-of-recent-posts\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/x-api/posts/get-count-of-recent-posts.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.x.com/x-api/posts/get-count-of-recent-posts\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.x.com/es/x-api/posts/get-count-of-recent-posts\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.x.com/fr/x-api/posts/get-count-of-recent-posts\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"hi\" href=\"https://docs.x.com/hi/x-api/posts/get-count-of-recent-posts\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.x.com/ja/x-api/posts/get-count-of-recent-posts\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.x.com/ko/x-api/posts/get-count-of-recent-posts\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.x.com/x-api/posts/get-count-of-recent-posts\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.x.com/#organization\",\"name\":\"X\",\"url\":\"https://docs.x.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/generaltranslation/p-tsc5qa00w8y5M4/logo/light.svg?fit=max\u0026auto=format\u0026n=p-tsc5qa00w8y5M4\u0026q=85\u0026s=299a991122fb35a82f868bc62a8be1ae\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.x.com#website\",\"name\":\"X\",\"url\":\"https://docs.x.com\",\"publisher\":{\"@id\":\"https://docs.x.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.x.com/x-api/posts/get-count-of-recent-posts#webpage\",\"url\":\"https://docs.x.com/x-api/posts/get-count-of-recent-posts\",\"name\":\"Get count of recent Posts\",\"description\":\"Retrieves the count of Posts from the last 7 days matching a search query.\",\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.x.com/x-api/posts/get-count-of-recent-posts#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.x.com/x-api/posts/get-count-of-recent-posts#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Posts\",\"item\":\"https://docs.x.com/x-api/posts/search/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Post Counts\",\"item\":\"https://docs.x.com/x-api/posts/counts/introduction\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get count of recent Posts\",\"item\":\"https://docs.x.com/x-api/posts/get-count-of-recent-posts\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.x.com/x-api/posts/get-count-of-recent-posts#apireference\",\"headline\":\"Get count of recent Posts\",\"name\":\"Get count of recent Posts\",\"description\":\"Retrieves the count of Posts from the last 7 days matching a search query.\",\"url\":\"https://docs.x.com/x-api/posts/get-count-of-recent-posts\",\"mainEntityOfPage\":{\"@id\":\"https://docs.x.com/x-api/posts/get-count-of-recent-posts#webpage\"},\"publisher\":{\"@id\":\"https://docs.x.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.x.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"X\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"X\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/x-api/posts/get-count-of-recent-posts.md","siteName":"X","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Home","pages":[{"title":"Home","href":"/overview"}]},{"tab":"X API","groups":[{"group":"Overview","pages":[{"title":"X API","sidebarTitle":"Introduction","mode":"wide","href":"/x-api/introduction"},{"group":"Getting started","pages":[{"title":"About the X API","sidebarTitle":"About X API","href":"/x-api/getting-started/about-x-api"},{"title":"Pricing","sidebarTitle":"Pricing","href":"/x-api/getting-started/pricing"},{"title":"Getting Access","sidebarTitle":"Getting Access","href":"/x-api/getting-started/getting-access"},{"title":"Make Your First Request","sidebarTitle":"Make Your First Request","href":"/x-api/getting-started/make-your-first-request"},{"title":"Important Resources","sidebarTitle":"Important Resources","href":"/x-api/getting-started/important-resources"}]},{"group":"Tools and libraries","pages":[{"title":"Tools \u0026 Libraries","sidebarTitle":"Overview","href":"/x-api/tools-and-libraries/overview"},{"title":"Official SDKs","sidebarTitle":"SDKs","href":"/x-api/tools-and-libraries/sdks"}]},{"group":"Migration guide","pages":[{"title":"Overview","href":"/x-api/migrate/overview"},{"title":"Data Formation Migration","href":"/x-api/migrate/data-format-migration"},{"title":"X API endpoint map","href":"/x-api/migrate/x-api-endpoint-map"}]},{"title":"What to Build","sidebarTitle":"What to Build","href":"/x-api/what-to-build"},{"group":"Fundamentals","pages":[{"title":"Data Dictionary","sidebarTitle":"Data Dictionary","href":"/x-api/fundamentals/data-dictionary"},{"title":"Fields","sidebarTitle":"Fields","href":"/x-api/fundamentals/fields"},{"title":"Expansions","sidebarTitle":"Expansions","href":"/x-api/fundamentals/expansions"},{"title":"Post Annotations","sidebarTitle":"Annotations","href":"/x-api/fundamentals/post-annotations"},{"title":"Metrics","sidebarTitle":"Metrics","href":"/x-api/fundamentals/metrics"},{"title":"Conversation ID","sidebarTitle":"Conversation ID","href":"/x-api/fundamentals/conversation-id"},{"title":"Pagination","sidebarTitle":"Pagination","href":"/x-api/fundamentals/pagination"},{"title":"Versioning","sidebarTitle":"Versioning","href":"/x-api/fundamentals/versioning"},{"title":"API Consistency","sidebarTitle":"Consistency","href":"/x-api/fundamentals/consistency"},{"title":"X API Rate Limits","sidebarTitle":"Rate Limits","href":"/x-api/fundamentals/rate-limits"},{"title":"Usage and Billing","sidebarTitle":"Usage \u0026 Billing","href":"/x-api/fundamentals/post-cap"},{"title":"Edit Posts","sidebarTitle":"Edit Posts","href":"/x-api/fundamentals/edit-posts"},{"title":"Response Codes \u0026 Errors","sidebarTitle":"Response Codes","href":"/x-api/fundamentals/response-codes-and-errors"}]}]},{"group":"Posts","pages":[{"group":"Search","pages":[{"title":"Search Posts","sidebarTitle":"Introduction","href":"/x-api/posts/search/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Recent Search Quickstart","sidebarTitle":"Recent Search","href":"/x-api/posts/search/quickstart/recent-search"},{"title":"Full-Archive Search Quickstart","sidebarTitle":"Full-Archive Search","href":"/x-api/posts/search/quickstart/full-archive-search"}]},{"group":"Integration guide","pages":[{"title":"Integration Guide","sidebarTitle":"Overview","href":"/x-api/posts/search/integrate/overview"},{"title":"Build a query","sidebarTitle":"Build a query","href":"/x-api/posts/search/integrate/build-a-query"},{"title":"Search Operators","sidebarTitle":"Operators","href":"/x-api/posts/search/integrate/operators"},{"title":"Pagination","sidebarTitle":"Pagination","href":"/x-api/posts/search/integrate/paginate"}]}]},{"openapi":"/openapi.json GET /2/tweets/search/all","title":"Search all Posts","href":"/x-api/posts/search-all-posts"},{"openapi":"/openapi.json GET /2/tweets/search/recent","title":"Search recent Posts","href":"/x-api/posts/search-recent-posts"}]},{"group":"Post Counts","pages":[{"title":"Post Counts","sidebarTitle":"Introduction","href":"/x-api/posts/counts/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Recent Post Counts","sidebarTitle":"Recent Post Counts","href":"/x-api/posts/counts/quickstart/recent-tweet-counts"},{"title":"Full-Archive Post Counts","sidebarTitle":"Full-Archive Post Counts","href":"/x-api/posts/counts/quickstart/full-archive-tweet-counts"}]},{"group":"Integration guide","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/x-api/posts/counts/integrate/overview"},{"title":"Build a query","sidebarTitle":"Build a query","href":"/x-api/posts/counts/integrate/build-a-query"}]}]},{"openapi":"/openapi.json GET /2/tweets/counts/all","title":"Get count of all Posts","description":"Retrieves the count of Posts matching a search query from the full archive.","href":"/x-api/posts/get-count-of-all-posts"},{"openapi":"/openapi.json GET /2/tweets/counts/recent","title":"Get count of recent Posts","href":"/x-api/posts/get-count-of-recent-posts"}]},{"group":"Filtered Stream","pages":[{"title":"Filtered Stream","sidebarTitle":"Introduction","description":"Stream real-time Posts matching your filter rules","href":"/x-api/posts/filtered-stream/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/filtered-stream/quickstart"},{"group":"Integration guide","pages":[{"title":"Build a rule","sidebarTitle":"Build a rule","href":"/x-api/posts/filtered-stream/integrate/build-a-rule"},{"title":"Stream Rule Operators","sidebarTitle":"Operators","href":"/x-api/posts/filtered-stream/integrate/operators"},{"title":"Consuming streaming data","sidebarTitle":"Consuming streaming data","href":"/x-api/posts/filtered-stream/integrate/consuming-streaming-data"},{"title":"Handling disconnections","sidebarTitle":"Handling disconnections","href":"/x-api/posts/filtered-stream/integrate/handling-disconnections"},{"title":"Handling high-volume capacity","sidebarTitle":"Handling high-volume capacity","href":"/x-api/posts/filtered-stream/integrate/handling-high-volume-capacity"},{"title":"Matching Posts to Rules","sidebarTitle":"Matching Posts to Rules","href":"/x-api/posts/filtered-stream/integrate/matching-returned-tweets"},{"title":"Recovery and redundancy","sidebarTitle":"Recovery and redundancy","href":"/x-api/posts/filtered-stream/integrate/recovery-and-redundancy-features"}]}]},{"openapi":"/openapi.json GET /2/tweets/search/stream","title":"Stream filtered Posts","href":"/x-api/stream/stream-filtered-posts"},{"openapi":"/openapi.json GET /2/tweets/search/stream/rules","title":"Get stream rules","href":"/x-api/stream/get-stream-rules"},{"openapi":"/openapi.json GET /2/tweets/search/stream/rules/counts","title":"Get stream rule counts","href":"/x-api/stream/get-stream-rule-counts"},{"openapi":"/openapi.json POST /2/tweets/search/stream/rules","title":"Update stream rules","href":"/x-api/stream/update-stream-rules"}]},{"group":"Timelines","pages":[{"title":"Timelines","sidebarTitle":"Introduction","href":"/x-api/posts/timelines/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Home Timeline Quickstart","sidebarTitle":"Home Timeline","href":"/x-api/posts/timelines/quickstart/reverse-chron-quickstart"},{"title":"User Mentions Timeline","sidebarTitle":"User Mentions","href":"/x-api/posts/timelines/quickstart/user-mention-quickstart"}]},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/posts/timelines/integrate"}]},{"openapi":"/openapi.json GET /2/users/{id}/tweets","title":"Get Posts","href":"/x-api/users/get-posts"},{"openapi":"/openapi.json GET /2/users/{id}/mentions","title":"Get mentions","href":"/x-api/users/get-mentions"},{"openapi":"/openapi.json GET /2/users/{id}/timelines/reverse_chronological","title":"Get Timeline","href":"/x-api/users/get-timeline"}]},{"group":"Post Lookup","pages":[{"title":"Post Lookup","sidebarTitle":"Introduction","href":"/x-api/posts/lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/lookup/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/posts/lookup/integrate"}]},{"openapi":"/openapi.json GET /2/tweets","title":"Get Posts by IDs","href":"/x-api/posts/get-posts-by-ids"},{"openapi":"/openapi.json GET /2/tweets/{id}","title":"Get Post by ID","href":"/x-api/posts/get-post-by-id"}]},{"group":"Bookmarks","pages":[{"title":"Bookmarks","sidebarTitle":"Introduction","href":"/x-api/posts/bookmarks/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Bookmarks Lookup","sidebarTitle":"Bookmarks Lookup","href":"/x-api/posts/bookmarks/quickstart/bookmarks-lookup"},{"title":"Manage Bookmarks","sidebarTitle":"Manage Bookmarks","href":"/x-api/posts/bookmarks/quickstart/manage-bookmarks"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/posts/bookmarks/integrate"}]},{"group":"Bookmark Folders","pages":[{"openapi":"/openapi.json GET /2/users/{id}/bookmarks/folders","title":"Get Bookmark folders","href":"/x-api/users/get-bookmark-folders"},{"openapi":"/openapi.json GET /2/users/{id}/bookmarks/folders/{folder_id}","title":"Get Bookmarks by folder ID","href":"/x-api/bookmarks/get-bookmarks-by-folder-id"}]},{"openapi":"/openapi.json GET /2/users/{id}/bookmarks","title":"Get Bookmarks","href":"/x-api/users/get-bookmarks"},{"openapi":"/openapi.json POST /2/users/{id}/bookmarks","title":"Create Bookmark","href":"/x-api/users/create-bookmark"},{"openapi":"/openapi.json DELETE /2/users/{id}/bookmarks/{tweet_id}","title":"Delete Bookmark","href":"/x-api/users/delete-bookmark"}]},{"group":"Manage Posts","pages":[{"title":"Manage Posts","sidebarTitle":"Introduction","href":"/x-api/posts/manage-tweets/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/manage-tweets/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/posts/manage-tweets/integrate"}]},{"openapi":"/openapi.json POST /2/tweets","title":"Create or Edit Post","href":"/x-api/posts/create-post"},{"openapi":"/openapi.json DELETE /2/tweets/{id}","title":"Delete Post","href":"/x-api/posts/delete-post"}]},{"group":"Reposts","pages":[{"title":"Retweets","sidebarTitle":"Introduction","href":"/x-api/posts/retweets/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Retweets Lookup","sidebarTitle":"Retweets Lookup","href":"/x-api/posts/retweets/quickstart/retweets-lookup"},{"title":"Manage Retweets","sidebarTitle":"Manage Retweets","href":"/x-api/posts/retweets/quickstart/manage-retweets"},{"title":"Retweets of Me","sidebarTitle":"Retweets of Me","href":"/x-api/posts/retweets/quickstart/retweets-of-me"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/posts/retweets/integrate"}]},{"openapi":"/openapi.json GET /2/tweets/{id}/retweeted_by","title":"Get Reposted by","href":"/x-api/posts/get-reposted-by"},{"openapi":"/openapi.json POST /2/users/{id}/retweets","title":"Repost Post","href":"/x-api/users/repost-post"},{"openapi":"/openapi.json DELETE /2/users/{id}/retweets/{source_tweet_id}","title":"Unrepost Post","href":"/x-api/users/unrepost-post"},{"openapi":"/openapi.json GET /2/tweets/{id}/retweets","title":"Get Reposts","href":"/x-api/posts/get-reposts"},{"openapi":"/openapi.json GET /2/users/reposts_of_me","title":"Get Reposts of me","href":"/x-api/users/get-reposts-of-me"}]},{"group":"Quotes","pages":[{"title":"Quote Posts","sidebarTitle":"Introduction","href":"/x-api/posts/quote-tweets/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/quote-tweets/quickstart"}]},{"openapi":"/openapi.json GET /2/tweets/{id}/quote_tweets","title":"Get Quoted Posts","href":"/x-api/posts/get-quoted-posts"}]},{"group":"Hide replies","pages":[{"title":"Hide Replies","sidebarTitle":"Introduction","href":"/x-api/posts/hide-replies/introduction"},{"title":"Apps","sidebarTitle":"Apps","href":"/x-api/posts/hide-replies/apps"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/posts/hide-replies/quickstart"},{"group":"Integration guide","pages":[{"title":"Manage replies by topic","sidebarTitle":"Manage replies by topic","href":"/x-api/posts/hide-replies/integrate/manage-replies-by-topic"},{"title":"Manage replies by topic","sidebarTitle":"Manage replies by topic","href":"/x-api/posts/hide-replies/integrate/manage-replies-in-realtime"}]}]},{"openapi":"/openapi.json PUT /2/tweets/{tweet_id}/hidden","title":"Hide reply","href":"/x-api/posts/hide-reply"}]}]},{"group":"Users","pages":[{"group":"User Lookup","pages":[{"title":"User Lookup","sidebarTitle":"Introduction","href":"/x-api/users/lookup/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"User Lookup Quickstart","sidebarTitle":"User Lookup","href":"/x-api/users/lookup/quickstart/user-lookup"},{"title":"Authenticated User Quickstart","sidebarTitle":"Authenticated User","href":"/x-api/users/lookup/quickstart/authenticated-lookup"}]},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/users/lookup/integrate"}]},{"openapi":"/openapi.json GET /2/users/{id}","title":"Get User by ID","href":"/x-api/users/get-user-by-id"},{"openapi":"/openapi.json GET /2/users","title":"Get Users by IDs","href":"/x-api/users/get-users-by-ids"},{"openapi":"/openapi.json GET /2/users/by","title":"Get Users by usernames","href":"/x-api/users/get-users-by-usernames"},{"openapi":"/openapi.json GET /2/users/by/username/{username}","title":"Get User by username","href":"/x-api/users/get-user-by-username"},{"openapi":"/openapi.json GET /2/users/me","title":"Get my User","href":"/x-api/users/get-my-user"}]},{"group":"Search","pages":[{"title":"User Search","sidebarTitle":"Introduction","href":"/x-api/users/search/introduction"},{"openapi":"/openapi.json GET /2/users/search","title":"Search Users","href":"/x-api/users/search-users"}]},{"group":"Follows","pages":[{"title":"Follows","sidebarTitle":"Introduction","href":"/x-api/users/follows/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/users/follows/quickstart"}]},{"openapi":"/openapi.json GET /2/users/{id}/followers","title":"Get followers","href":"/x-api/users/get-followers"},{"openapi":"/openapi.json GET /2/users/{id}/following","title":"Get following","href":"/x-api/users/get-following"},{"openapi":"/openapi.json POST /2/users/{id}/following","title":"Follow User","href":"/x-api/users/follow-user"},{"openapi":"/openapi.json DELETE /2/users/{source_user_id}/following/{target_user_id}","title":"Unfollow User","href":"/x-api/users/unfollow-user"}]},{"group":"Mutes","pages":[{"title":"Mutes","sidebarTitle":"Introduction","href":"/x-api/users/mutes/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Manage Mutes","sidebarTitle":"Manage Mutes","href":"/x-api/users/mutes/quickstart/manage-mutes-quickstart"},{"title":"Mutes Lookup","sidebarTitle":"Mutes Lookup","href":"/x-api/users/mutes/quickstart/mutes-lookup"}]},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/users/mutes/integrate"}]},{"openapi":"/openapi.json POST /2/users/{id}/muting","title":"Mute User","href":"/x-api/users/mute-user"},{"openapi":"/openapi.json DELETE /2/users/{source_user_id}/muting/{target_user_id}","title":"Unmute User","href":"/x-api/users/unmute-user"},{"openapi":"/openapi.json GET /2/users/{id}/muting","title":"Get muting","href":"/x-api/users/get-muting"}]},{"group":"Blocks","pages":[{"title":"Blocks","sidebarTitle":"Introduction","href":"/x-api/users/blocks/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/users/blocks/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/users/blocks/integrate"}]},{"openapi":"/openapi.json GET /2/users/{id}/blocking","title":"Get blocking","href":"/x-api/users/get-blocking"}]}]},{"group":"Direct Messages","pages":[{"group":"Manage","pages":[{"title":"Manage Direct Messages","sidebarTitle":"Introduction","href":"/x-api/direct-messages/manage/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/direct-messages/manage/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/direct-messages/manage/integrate"}]},{"openapi":"/openapi.json POST /2/dm_conversations","title":"Create DM conversation","href":"/x-api/direct-messages/create-dm-conversation"},{"openapi":"/openapi.json DELETE /2/dm_events/{event_id}","title":"Delete DM event","href":"/x-api/direct-messages/delete-dm-event"},{"openapi":"/openapi.json POST /2/dm_conversations/with/{participant_id}/messages","title":"Create DM message by participant ID","href":"/x-api/direct-messages/create-dm-message-by-participant-id"},{"openapi":"/openapi.json POST /2/dm_conversations/{dm_conversation_id}/messages","title":"Create DM message by conversation ID","href":"/x-api/direct-messages/create-dm-message-by-conversation-id"}]},{"group":"Lookup","pages":[{"title":"Direct Messages Lookup","sidebarTitle":"Introduction","href":"/x-api/direct-messages/lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/direct-messages/lookup/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/direct-messages/lookup/integrate"}]},{"openapi":"/openapi.json GET /2/dm_conversations/with/{participant_id}/dm_events","title":"Get DM events for a DM conversation","href":"/x-api/direct-messages/get-dm-events-for-a-dm-conversation"},{"openapi":"/openapi.json GET /2/dm_conversations/{id}/dm_events","title":"Get DM events for a DM conversation","href":"/x-api/direct-messages/get-dm-events-for-a-dm-conversation-1"},{"openapi":"/openapi.json GET /2/dm_events","title":"Get DM events","href":"/x-api/direct-messages/get-dm-events"},{"openapi":"/openapi.json GET /2/dm_events/{event_id}","title":"Get DM event by ID","href":"/x-api/direct-messages/get-dm-event-by-id"}]},{"group":"Blocks","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/x-api/direct-messages/blocks/introduction"},{"openapi":"/openapi.json POST /2/users/{id}/dm/block","title":"Block DMs","href":"/x-api/users/block-dms"},{"openapi":"/openapi.json POST /2/users/{id}/dm/unblock","title":"Unblock DMs","href":"/x-api/users/unblock-dms"}]}]},{"group":"Likes","pages":[{"title":"Likes","sidebarTitle":"Introduction","href":"/x-api/posts/likes/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Likes Lookup","sidebarTitle":"Likes Lookup","href":"/x-api/posts/likes/quickstart/likes-lookup"},{"title":"Manage Likes","sidebarTitle":"Manage Likes","href":"/x-api/posts/likes/quickstart/manage-likes"}]}]},{"openapi":"/openapi.json GET /2/users/{id}/liked_tweets","title":"Get liked Posts","href":"/x-api/users/get-liked-posts"},{"openapi":"/openapi.json GET /2/tweets/{id}/liking_users","title":"Get Liking Users","href":"/x-api/posts/get-liking-users"},{"openapi":"/openapi.json POST /2/users/{id}/likes","title":"Like Post","href":"/x-api/users/like-post"},{"openapi":"/openapi.json DELETE /2/users/{id}/likes/{tweet_id}","title":"Unlike Post","href":"/x-api/users/unlike-post"}]},{"group":"Lists","pages":[{"group":"Lookup Lists","pages":[{"title":"List Lookup","sidebarTitle":"Introduction","href":"/x-api/lists/list-lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/lists/list-lookup/quickstart"},{"title":"Integration Guide","sidebarTitle":"Integration Guide","href":"/x-api/lists/list-lookup/integrate"}]},{"openapi":"/openapi.json GET /2/lists/{id}","title":"Get List by ID","href":"/x-api/lists/get-list-by-id"},{"openapi":"/openapi.json GET /2/users/{id}/followed_lists","title":"Get followed Lists","href":"/x-api/users/get-followed-lists"},{"openapi":"/openapi.json GET /2/users/{id}/owned_lists","title":"Get owned Lists","href":"/x-api/users/get-owned-lists"}]},{"group":"Lookup List Posts","pages":[{"title":"List Posts","sidebarTitle":"Introduction","href":"/x-api/lists/list-tweets/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/lists/list-tweets/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/list-tweets/integrate"}]},{"openapi":"/openapi.json GET /2/lists/{id}/tweets","title":"Get List Posts","href":"/x-api/lists/get-list-posts"}]},{"group":"Manage Lists","pages":[{"title":"Manage Lists","sidebarTitle":"Introduction","href":"/x-api/lists/manage-lists/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/lists/manage-lists/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/manage-lists/integrate"}]},{"openapi":"/openapi.json POST /2/lists","title":"Create List","href":"/x-api/lists/create-list"},{"openapi":"/openapi.json PUT /2/lists/{id}","title":"Update List","href":"/x-api/lists/update-list"},{"openapi":"/openapi.json DELETE /2/lists/{id}","title":"Delete List","href":"/x-api/lists/delete-list"},{"openapi":"/openapi.json POST /2/users/{id}/followed_lists","title":"Follow List","href":"/x-api/users/follow-list"},{"openapi":"/openapi.json DELETE /2/users/{id}/followed_lists/{list_id}","title":"Unfollow List","href":"/x-api/users/unfollow-list"}]},{"group":"List Members","pages":[{"title":"List Members","sidebarTitle":"Introduction","href":"/x-api/lists/list-members/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"List Members Overview","sidebarTitle":"Overview","href":"/x-api/lists/list-members/quickstart/overview"},{"title":"List Members Lookup","sidebarTitle":"List Members Lookup","href":"/x-api/lists/list-members/quickstart/list-members-lookup"},{"title":"Manage List Members","sidebarTitle":"Manage List Members","href":"/x-api/lists/list-members/quickstart/manage-list-members"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/list-members/integrate"}]},{"group":"Manage","pages":[{"openapi":"/openapi.json POST /2/lists/{id}/members","title":"Add List member","href":"/x-api/lists/add-list-member"},{"openapi":"/openapi.json DELETE /2/lists/{id}/members/{user_id}","title":"Remove List member","href":"/x-api/lists/remove-list-member"}]},{"group":"Lookup","pages":[{"openapi":"/openapi.json GET /2/users/{id}/list_memberships","title":"Get List memberships","href":"/x-api/users/get-list-memberships"},{"openapi":"/openapi.json GET /2/lists/{id}/followers","title":"Get List followers","href":"/x-api/lists/get-list-followers"},{"openapi":"/openapi.json GET /2/lists/{id}/members","title":"Get List members","href":"/x-api/lists/get-list-members"}]}]},{"group":"Pinned Lists","pages":[{"title":"Pinned Lists","sidebarTitle":"Introduction","href":"/x-api/lists/pinned-lists/introduction"},{"group":"Guides","pages":[{"group":"Quickstart","pages":[{"title":"Pinned Lists Overview","sidebarTitle":"Overview","href":"/x-api/lists/pinned-lists/quickstart/overview"},{"title":"Pinned Lists Lookup","sidebarTitle":"Pinned Lists Lookup","href":"/x-api/lists/pinned-lists/quickstart/pinned-list-lookup"},{"title":"Manage Pinned Lists","sidebarTitle":"Manage Pinned Lists","href":"/x-api/lists/pinned-lists/quickstart/manage-pinned-lists"}]},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/lists/pinned-lists/integrate"}]},{"openapi":"/openapi.json GET /2/users/{id}/pinned_lists","title":"Get pinned Lists","href":"/x-api/users/get-pinned-lists"},{"openapi":"/openapi.json POST /2/users/{id}/pinned_lists","title":"Pin List","href":"/x-api/users/pin-list"},{"openapi":"/openapi.json DELETE /2/users/{id}/pinned_lists/{list_id}","title":"Unpin List","href":"/x-api/users/unpin-list"}]}]},{"group":"Spaces","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/x-api/spaces/introduction"},{"group":"Spaces Lookup","pages":[{"title":"Spaces Lookup","sidebarTitle":"Introduction","href":"/x-api/spaces/lookup/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/spaces/lookup/quickstart"}]},{"openapi":"/openapi.json GET /2/spaces","title":"Get Spaces by IDs","href":"/x-api/spaces/get-spaces-by-ids"},{"openapi":"/openapi.json GET /2/spaces/by/creator_ids","title":"Get Spaces by creator IDs","href":"/x-api/spaces/get-spaces-by-creator-ids"},{"openapi":"/openapi.json GET /2/spaces/{id}","title":"Get space by ID","href":"/x-api/spaces/get-space-by-id"},{"openapi":"/openapi.json GET /2/spaces/{id}/tweets","title":"Get Space Posts","href":"/x-api/spaces/get-space-posts"},{"openapi":"/openapi.json GET /2/spaces/{id}/buyers","title":"Get Space ticket buyers","href":"/x-api/spaces/get-space-ticket-buyers"}]},{"group":"Search Spaces","pages":[{"title":"Spaces Search","sidebarTitle":"Introduction","href":"/x-api/spaces/search/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/spaces/search/quickstart"}]},{"openapi":"/openapi.json GET /2/spaces/search","title":"Search Spaces","href":"/x-api/spaces/search-spaces"}]}]},{"group":"Communities","pages":[{"group":"Communities Lookup","pages":[{"title":"Communities Lookup","sidebarTitle":"Introduction","href":"/x-api/communities/lookup/introduction"},{"openapi":"/openapi.json GET /2/communities/{id}","title":"Get Community by ID","href":"/x-api/communities/get-community-by-id"}]},{"group":"Search Communities","pages":[{"title":"Communities Search","sidebarTitle":"Introduction","href":"/x-api/communities/search/introduction"},{"openapi":"/openapi.json GET /2/communities/search","title":"Search Communities","href":"/x-api/communities/search-communities"}]}]},{"group":"Community Notes","pages":[{"title":null,"href":"/x-api/community-notes/introduction"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/community-notes/quickstart"},{"openapi":"/openapi.json GET /2/notes/search/posts_eligible_for_notes","title":"Search for Posts Eligible for Community Notes","href":"/x-api/community-notes/search-for-posts-eligible-for-community-notes"},{"openapi":"/openapi.json GET /2/notes/search/notes_written","title":"Search for Community Notes Written","href":"/x-api/community-notes/search-for-community-notes-written"},{"openapi":"/openapi.json POST /2/notes","title":"Create a Community Note","href":"/x-api/community-notes/create-a-community-note"},{"openapi":"/openapi.json DELETE /2/notes/{id}","title":"Delete a Community Note","href":"/x-api/community-notes/delete-a-community-note"},{"openapi":"/openapi.json POST /2/evaluate_note","title":"Evaluate a Community Note","href":"/x-api/community-notes/evaluate-a-community-note"}]},{"group":"Trends","pages":[{"group":"Trends","pages":[{"title":"Trends by WOEID","sidebarTitle":"Introduction","href":"/x-api/trends/trends-by-woeid/introduction"},{"openapi":"/openapi.json GET /2/trends/by/woeid/{woeid}","title":"Get Trends by WOEID","href":"/x-api/trends/get-trends-by-woeid"}]},{"group":"Personalized Trends","pages":[{"title":"Personalized Trends","sidebarTitle":"Introduction","href":"/x-api/trends/personalized-trends/introduction"},{"openapi":"/openapi.json GET /2/users/personalized_trends","title":"Get personalized Trends","href":"/x-api/trends/get-personalized-trends"}]}]},{"group":"News","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/x-api/news/introduction"},{"openapi":"/openapi.json GET /2/news/{id}","title":"Get news stories by ID","href":"/x-api/news/get-news-stories-by-id"},{"openapi":"/openapi.json GET /2/news/search","title":"Search News","href":"/x-api/news/search-news"}]},{"group":"Media","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/x-api/media/introduction"},{"group":"Upload","pages":[{"group":"Guides","pages":[{"title":"Best practices","sidebarTitle":"Best practices","href":"/x-api/media/quickstart/best-practices"},{"title":"Chunked Media Upload","sidebarTitle":"Quickstart","href":"/x-api/media/quickstart/media-upload-chunked"}]},{"openapi":"/openapi.json POST /2/media/upload","title":"Upload media","href":"/x-api/media/upload-media"},{"openapi":"/openapi.json POST /2/media/upload/initialize","title":"Initialize media upload","href":"/x-api/media/initialize-media-upload"},{"openapi":"/openapi.json POST /2/media/upload/{id}/append","title":"Append Media upload","href":"/x-api/media/append-media-upload"},{"openapi":"/openapi.json POST /2/media/upload/{id}/finalize","title":"Finalize Media upload","href":"/x-api/media/finalize-media-upload"},{"openapi":"/openapi.json GET /2/media/upload","title":"Get Media upload status","href":"/x-api/media/get-media-upload-status"}]},{"group":"Metadata","pages":[{"openapi":"/openapi.json POST /2/media/metadata","title":"Create Media metadata","href":"/x-api/media/create-media-metadata"},{"openapi":"/openapi.json POST /2/media/subtitles","title":"Create Media subtitles","href":"/x-api/media/create-media-subtitles"},{"openapi":"/openapi.json DELETE /2/media/subtitles","title":"Delete Media subtitles","href":"/x-api/media/delete-media-subtitles"}]}]},{"group":"X Activity","pages":[{"title":"Activity Stream","sidebarTitle":"Introduction","href":"/x-api/activity/introduction"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/activity/quickstart"},{"openapi":"/openapi.json GET /2/activity/stream","title":"Activity Stream","href":"/x-api/activity/activity-stream"},{"openapi":"/openapi.json POST /2/activity/subscriptions","title":"Create X activity subscription","href":"/x-api/activity/create-x-activity-subscription"},{"openapi":"/openapi.json DELETE /2/activity/subscriptions/{subscription_id}","title":"Deletes X activity subscription","href":"/x-api/activity/deletes-x-activity-subscription"},{"openapi":"/openapi.json GET /2/activity/subscriptions","title":"Get X activity subscriptions","href":"/x-api/activity/get-x-activity-subscriptions"},{"openapi":"/openapi.json PUT /2/activity/subscriptions/{subscription_id}","title":"Update X activity subscription","href":"/x-api/activity/update-x-activity-subscription"}]},{"group":"Usage","pages":[{"title":"Usage","sidebarTitle":"Introduction","href":"/x-api/usage/introduction"},{"openapi":"/openapi.json GET /2/usage/tweets","title":"Get usage","href":"/x-api/usage/get-usage"}]},{"group":"Stream Connections","pages":[{"openapi":"/openapi.json DELETE /2/connections/all","title":"Terminate all connections","href":"/x-api/connections/terminate-all-connections"}]},{"group":"Compliance","pages":[{"group":"Batch Compliance","pages":[{"title":"Batch Compliance","sidebarTitle":"Introduction","href":"/x-api/compliance/batch-compliance/introduction"},{"group":"Guides","pages":[{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/compliance/batch-compliance/quickstart"},{"title":"Integration guide","sidebarTitle":"Integration guide","href":"/x-api/compliance/batch-compliance/integrate"}]},{"openapi":"/openapi.json GET /2/compliance/jobs","title":"Get Compliance Jobs","href":"/x-api/compliance/get-compliance-jobs"},{"openapi":"/openapi.json POST /2/compliance/jobs","title":"Create Compliance Job","href":"/x-api/compliance/create-compliance-job"},{"openapi":"/openapi.json GET /2/compliance/jobs/{id}","title":"Get Compliance Job by ID","href":"/x-api/compliance/get-compliance-job-by-id"}]},{"group":"Compliance streams","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/x-api/compliance/streams/introduction"},{"openapi":"/openapi.json GET /2/likes/compliance/stream","title":"Stream Likes compliance data","href":"/x-api/stream/stream-likes-compliance-data"},{"openapi":"/openapi.json GET /2/tweets/compliance/stream","title":"Stream Posts compliance data","href":"/x-api/stream/stream-posts-compliance-data"},{"openapi":"/openapi.json GET /2/users/compliance/stream","title":"Stream Users compliance data","href":"/x-api/stream/stream-users-compliance-data"}]}]},{"group":"Enterprise v2","pages":[{"group":"Engagement Metrics","pages":[{"openapi":"/openapi.json GET /2/tweets/analytics","title":"Get Post analytics","href":"/x-api/posts/get-post-analytics"},{"openapi":"/openapi.json GET /2/media/analytics","title":"Get Media analytics","href":"/x-api/media/get-media-analytics"}]},{"group":"Webhooks","pages":[{"title":"Webhooks","sidebarTitle":"Introduction","href":"/x-api/webhooks/introduction"},{"openapi":"/openapi.json POST /2/webhooks","title":"Create webhook","href":"/x-api/webhooks/create-webhook"},{"openapi":"/openapi.json DELETE /2/webhooks/{webhook_id}","title":"Delete webhook","href":"/x-api/webhooks/delete-webhook"},{"openapi":"/openapi.json GET /2/webhooks","title":"Get webhook","href":"/x-api/webhooks/get-webhook"},{"openapi":"/openapi.json PUT /2/webhooks/{webhook_id}","title":"Validate webhook","href":"/x-api/webhooks/validate-webhook"},{"openapi":"/openapi.json POST /2/webhooks/replay","title":"Create replay job for webhook","href":"/x-api/webhooks/create-replay-job-for-webhook"}]},{"group":"Account Activity","pages":[{"title":"Account Activity API","sidebarTitle":"Introduction","href":"/x-api/account-activity/introduction"},{"group":"Migration guide","pages":[{"title":"v2 Account Activity API Migration Guide","href":"/x-api/account-activity/migrate/overview"}]},{"openapi":"/openapi.json GET /2/account_activity/webhooks/{webhook_id}/subscriptions/all","title":"Validate subscription","href":"/x-api/account-activity/validate-subscription"},{"openapi":"/openapi.json DELETE /2/account_activity/webhooks/{webhook_id}/subscriptions/{user_id}/all","title":"Delete subscription","href":"/x-api/account-activity/delete-subscription"},{"openapi":"/openapi.json GET /2/account_activity/subscriptions/count","title":"Get subscription count","href":"/x-api/account-activity/get-subscription-count"},{"openapi":"/openapi.json GET /2/account_activity/webhooks/{webhook_id}/subscriptions/all/list","title":"Get subscriptions","href":"/x-api/account-activity/get-subscriptions"},{"openapi":"/openapi.json POST /2/account_activity/replay/webhooks/{webhook_id}/subscriptions/all","title":"Create replay job","href":"/x-api/account-activity/create-replay-job"},{"openapi":"/openapi.json POST /2/account_activity/webhooks/{webhook_id}/subscriptions/all","title":"Create subscription","href":"/x-api/account-activity/create-subscription"}]},{"group":"Filtered Stream Webhooks","pages":[{"title":"Filtered Stream Webhooks API","sidebarTitle":"Introduction","href":"/x-api/webhooks/stream/introduction"},{"title":"Quickstart","sidebarTitle":"Quickstart","href":"/x-api/webhooks/stream/quickstart"},{"openapi":"/openapi.json POST /2/tweets/search/webhooks/{webhook_id}","title":"Create stream link","href":"/x-api/webhooks/create-stream-link"},{"openapi":"/openapi.json DELETE /2/tweets/search/webhooks/{webhook_id}","title":"Delete stream link","href":"/x-api/webhooks/delete-stream-link"},{"openapi":"/openapi.json GET /2/tweets/search/webhooks","title":"Get stream links","href":"/x-api/webhooks/get-stream-links"}]},{"group":"Powerstream","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/x-api/powerstream/introduction"},{"title":"Handling disconnections","sidebarTitle":"Handling disconnections","href":"/x-api/powerstream/handling-disconnections"},{"title":"Recovery and redundancy","sidebarTitle":"Recovery and redundancy","href":"/x-api/powerstream/recovery-and-redundancy"}]},{"group":"Volume Streams","pages":[{"title":"Introduction","sidebarTitle":"Introduction","href":"/x-api/posts/volume-streams/introduction"},{"openapi":"/openapi.json GET /2/tweets/firehose/stream","title":"Stream all Posts","href":"/x-api/stream/stream-all-posts"},{"openapi":"/openapi.json GET /2/tweets/firehose/stream/lang/en","title":"Stream English Posts","href":"/x-api/stream/stream-english-posts"},{"openapi":"/openapi.json GET /2/tweets/firehose/stream/lang/ja","title":"Stream Japanese Posts","href":"/x-api/stream/stream-japanese-posts"},{"openapi":"/openapi.json GET /2/tweets/firehose/stream/lang/ko","title":"Stream Korean Posts","href":"/x-api/stream/stream-korean-posts"},{"openapi":"/openapi.json GET /2/tweets/firehose/stream/lang/pt","title":"Stream Portuguese Posts","href":"/x-api/stream/stream-portuguese-posts"},{"openapi":"/openapi.json GET /2/tweets/sample/stream","title":"Stream sampled Posts","href":"/x-api/stream/stream-sampled-posts"},{"openapi":"/openapi.json GET /2/tweets/sample10/stream","title":"Stream 10% sampled Posts","href":"/x-api/stream/stream-10-sampled-posts"}]}]},{"group":"Likes Streams","pages":[{"openapi":"/openapi.json GET /2/likes/firehose/stream","title":"Stream all Likes","href":"/x-api/stream/stream-all-likes"},{"openapi":"/openapi.json GET /2/likes/sample10/stream","title":"Stream sampled Likes","href":"/x-api/stream/stream-sampled-likes"}]},{"group":"GNIP 2.0","pages":[{"group":"Fundamentals","pages":[{"title":"Gnip console","href":"/x-api/enterprise-gnip-2.0/fundamentals/overview"},{"title":"Data dictionary: Enterprise","sidebarTitle":"Data dictionary","href":"/x-api/enterprise-gnip-2.0/fundamentals/data-dictionary"},{"title":"Data enrichments: Enterprise","href":"/x-api/enterprise-gnip-2.0/fundamentals/data-enrichments"},{"title":"Rules and filtering: Enterprise","href":"/x-api/enterprise-gnip-2.0/fundamentals/rules-filtering"},{"title":"Rate limits: Enterprise","href":"/x-api/enterprise-gnip-2.0/fundamentals/rate-limits"},{"title":"Edit Tweets","href":"/x-api/enterprise-gnip-2.0/fundamentals/edit-tweets"}]},{"title":"Enterprise","href":"/x-api/enterprise-gnip-2.0/enterprise-gnip"},{"title":"PowerTrack API","href":"/x-api/enterprise-gnip-2.0/powertrack-api"},{"title":"Decahose API","href":"/x-api/enterprise-gnip-2.0/fundamentals/decahose-api"},{"title":"Account Activity API: Enterprise","href":"/x-api/enterprise-gnip-2.0/fundamentals/account-activity"},{"title":"Search API: Enterprise","sidebarTitle":"Search API","href":"/x-api/enterprise-gnip-2.0/fundamentals/search-api"},{"title":"Engagement API","href":"/x-api/enterprise-gnip-2.0/fundamentals/engagement-api"},{"title":"Compliance Firehose API","href":"/x-api/enterprise-gnip-2.0/fundamentals/firehouse"},{"title":"Usage API","sidebarTitle":"Usage API","href":"/x-api/enterprise-gnip-2.0/fundamentals/usage"}]}]},{"tab":"X Ads API","pages":[{"title":"X Ads API","href":"/x-ads-api/introduction"}]},{"tab":"XDKs","pages":[{"title":"XDKs","href":"/xdks/overview"}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/tutorials/explore-a-users-posts"}]},{"tab":"Use Cases","pages":[{"title":"Use Cases","href":"/use-cases/build-for-business"}]},{"tab":"Success Stories","pages":[{"title":"Success Stories","href":"/success-stories"}]},{"tab":"Status","pages":[{"title":"Status","href":"/status"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"Python SDK","hidden":true,"pages":[{"title":"Python SDK","href":"/xdks/python/overview"}]},{"tab":"TypeScript SDK","hidden":true,"pages":[{"title":"TypeScript SDK","href":"/xdks/typescript/overview"}]}],"global":{"anchors":[{"anchor":"Developer Console","icon":"circle-play","href":"https://developer.x.com/en/portal/petition/essential/basic-info"},{"anchor":"Forums","icon":"messages","href":"https://devcommunity.x.com"},{"anchor":"GitHub","icon":"github","href":"https://github.com/xdevplatform"}]}},{"language":"es","pages":[{"title":"es","href":"/es/x-api/posts/get-count-of-recent-posts"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/x-api/posts/get-count-of-recent-posts"}]},{"language":"hi","pages":[{"title":"hi","href":"/hi/x-api/posts/get-count-of-recent-posts"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/x-api/posts/get-count-of-recent-posts"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/x-api/posts/get-count-of-recent-posts"}]}]},"basePath":"","title":"Get count of recent Posts - X","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}