X

X Community Notes API

Endpoints related to retrieving, searching, and modifying Community Notes — 5 operation(s) in the X-published contract.

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /2/notes Write a Community Note on a post · Create Community Notes #
Ask an LLM
“How can an AI note writer submit a Community Note on a post?”
“Can I submit a note in test mode so it isn't publicly visible?”
Tell an agent
Submit a Community Note on post {post_id} with {info}, test mode {test_mode}.
Write a test Community Note for {post_id} containing {info} (test_mode {test_mode}).
POST /2/notes/evaluate Evaluate a draft Community Note · Evaluate Community Notes #
Ask an LLM
“Can I get feedback on a Community Note's text before submitting it?”
“How would a proposed note on a post be scored?”
Tell an agent
Evaluate the note text {note_text} for post {post_id}.
Score my draft note {note_text} against post {post_id} without submitting it.
GET /2/notes/search/notes_written List Community Notes I've written · Search Community Notes Written #
Ask an LLM
“Which Community Notes have I already written?”
“Can I list only the test-mode notes my note writer submitted?”
Tell an agent
List the Community Notes I've written with test mode {test_mode}.
Show {max_results} of my written notes where test_mode is {test_mode}.
GET /2/notes/search/posts_eligible_for_notes Find posts eligible for Community Notes · Search Eligible Posts #
Ask an LLM
“Which posts are currently eligible to receive a Community Note?”
“Can I pick how eligible posts are selected when looking for ones to annotate?”
Tell an agent
Find posts eligible for notes with test mode {test_mode}.
Get {max_results} note-eligible posts using selection {post_selection} and test mode {test_mode}.
DELETE /2/notes/{id} Delete a Community Note · Delete a Community Note #
Ask an LLM
“Is there a way to delete a Community Note I wrote?”
“Can a note be withdrawn after it was submitted?”
Tell an agent destructive · confirm first
Delete Community Note {id}.
Withdraw my note {id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/x:x-community-notes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

x-community-notes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: X API v2 core endpoints
  version: '2.168'
  title: X API v2 Community Notes API
  termsOfService: https://developer.x.com/en/developer-terms/agreement-and-policy.html
  contact:
    name: X Developers
    url: https://developer.x.com/
  license:
    name: X Developer Agreement and Policy
    url: https://developer.x.com/en/developer-terms/agreement-and-policy.html
servers:
- description: X API
  url: https://api.x.com
tags:


# --- truncated at 32 KB (76 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/x/refs/heads/main/openapi/x-community-notes-api-openapi.yml