Xquik Composition API

AI tweet composition, drafts, writing styles, and radar

Operations 13

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 /api/v1/compose Build, refine or score a post draft · Build, refine, or check a post draft #
Ask an LLM
“Can Xquik help me build and refine a tweet draft step by step?”
“Does the draft score predict how much reach my post will get?”
Tell an agent
Run the compose step to get questions and rules for a new post.
Score my post draft against the deterministic text checks.
GET /api/v1/drafts List my saved tweet drafts · List saved drafts #
Ask an LLM
“Where can I see all my saved tweet drafts?”
“Can I page through my drafts with a cursor?”
Tell an agent
List my saved drafts.
Show my {limit} most recent saved drafts.
POST /api/v1/drafts Save a tweet draft · Save a tweet draft #
Ask an LLM
“Can I save a tweet draft to finish later?”
“Can I tag a saved draft with a topic and goal?”
Tell an agent
Save this tweet draft: {text}.
Save draft {text} under topic {topic} with goal {goal}.
GET /api/v1/drafts/{id} Open a saved draft · Get draft by ID #
Ask an LLM
“Can I open a single saved draft by its ID?”
“What text did I store in a particular draft?”
Tell an agent
Get draft {id}.
Show me the text of saved draft {id}.
DELETE /api/v1/drafts/{id} Delete a saved draft · Delete a draft #
Ask an LLM
“How do I delete a draft I no longer need?”
“Can I remove a saved tweet draft permanently?”
Tell an agent destructive · confirm first
Delete draft {id}.
Throw away saved draft {id}.
GET /api/v1/styles List my cached style profiles · List cached style profiles #
Ask an LLM
“Which writing style profiles have I already analyzed?”
“Can I see all cached style profiles?”
Tell an agent
List my cached style profiles.
Show every style profile I've saved.
POST /api/v1/styles Analyze an account's writing style · Analyze writing style from recent tweets #
Ask an LLM
“Can I analyze someone's writing style from their recent tweets?”
“How do I build a style profile for an X account?”
Tell an agent
Analyze the writing style of @{username}.
Build a style profile from {username}'s recent tweets.
GET /api/v1/styles/compare Compare two writing style profiles · Compare two style profiles #
Ask an LLM
“How does one account's tweeting style differ from another's?”
“Can I compare two style profiles side by side?”
Tell an agent
Compare the writing styles of {username1} and {username2}.
Put @{username1}'s style profile next to @{username2}'s.
GET /api/v1/styles/{id} View a cached style profile · Get cached style profile #
Ask an LLM
“Can I view a cached style profile by its ID?”
“What did the saved style analysis say for a specific profile?”
Tell an agent
Get style profile {id}.
Show me the cached style profile {id}.
PUT /api/v1/styles/{id} Save a style profile from custom tweets · Save style profile with custom tweets #
Ask an LLM
“Can I build a style profile from my own hand-picked tweets?”
“Is it possible to label a style profile and supply its sample tweets myself?”
Tell an agent
Save style profile {id} labeled {label} using tweets {tweets}.
Overwrite style profile {id} with these sample tweets: {tweets}, labeled {label}.
DELETE /api/v1/styles/{id} Delete a style profile · Delete a style profile #
Ask an LLM
“What's the way to remove a style profile I no longer want?”
“Can I delete a cached writing style analysis?”
Tell an agent destructive · confirm first
Delete style profile {id}.
Remove the cached style analysis {id}.
GET /api/v1/styles/{id}/performance See engagement for a style's tweets · Get engagement metrics for style tweets #
Ask an LLM
“How well did the tweets in a style profile perform on engagement?”
“Can I see engagement metrics for the tweets behind a style profile?”
Tell an agent
Show engagement metrics for style profile {id}.
Get the engagement numbers for the tweets in style profile {id}.
GET /api/v1/radar See trending topics from curated sources · Get trending topics from curated sources #
Ask an LLM
“What topics are trending right now across curated news sources?”
“Can I filter radar trends by category or region?”
Tell an agent
Show trending topics from the radar.
Get radar topics in category {category} from the last {hours} hours.

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/xquik-api:xquik-api-composition-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

xquik-api-composition-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Xquik Composition API
  version: '1.0'
  description: Xquik is an independent third-party service.
  x-guidance: '## Common tasks


    **Find a tweet** - GET /x/tweets/{id}. Returns text, author, metrics, media, and creation time. Cost: $0.00015 per lookup.


    **Search tweets** - GET /x/tweets/search?q={query}&limit={n}. Supports X operators, structured filters, Tweet IDs, and status URLs. Omit mode for automatic coverage. Cost: $0.00015 per returned tweet.


    **Find a user** - GET /x/users/{id}. Accepts an ID or username. Cost: $0.00015 per lookup.


    **Check if A follows B** - GET /x/followers/check?source={a}&target={b}. Accepts usernames or profile URLs. Cost: $0.00075.


    **Get trends** - GET /trends?woeid={region}&count={n}. WOEID 1 is worldwide. Cost: $0.00045.


    **Download media** - POST /x/media/download with `tweetIds`. Fresh Tweets cost 1 credit each. Cached repeats are free.


    **Read an article** - GET /x/articles/{tweetId}. Cost: $0.00075.


    ## Pagination


    Default platform pages return `hasMore` and `nextCursor`. X pages return `has_next_page` and `next_cursor`. The 2026-04-29 contract returns `has_more` and `next_cursor`. Pass cursors through `cursor`; `after` remains compatible. Dynamic pricing counts returned items, not requests.


    Omit `mode` for automatic reads. Pass cursors unchanged. `mode=standard` remains legacy. Retry 409 responses after `Retry-After`. Restart 410 responses without a cursor.


    ## Authentication


    Eligible reads accept guest wallets. Fixed-price lookups also accept MPP. Other features require an API key or OAuth 2.1 bearer token. API keys also support `Authorization: Bearer xq_...`.


    ## Best-Practice Response Contract


    v1 remains the default. Send `xquik-api-contract: 2026-04-29` for snake_case, Unix timestamps, structured errors, unified pagination, resource objects, and prefixed IDs. Dependency failures use 424 instead of 502.'
  contact:
    name: Xquik
    url: https://xquik.com
    email: support@xquik.com
servers:
- url: https://xquik.com
security:
- apiKey: []
- oauthBearer: []
tags:


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