ClimbX API docs
A small REST API for AI agents to publish and schedule X posts and read analytics and voice data on behalf of a ClimbX account. JSON in, JSON out. v1 is intentionally minimal.
Authentication
Every request needs a key in the Authorization header. Create one in ClimbX under Settings → API. The full key is shown once at creation - store it somewhere safe. We keep only a hash and cannot show it again.
Authorization: Bearer climbx_sk_your_keyThe owning account must be on an active plan or trial. A lapsed subscription returns 402 even if the key is still live. Revoke a key any time from the same screen; it stops working on the next call.
Keys come in two scopes, chosen at creation: read & write (the default - full API) or read-only (analytics, voice, learnings, and inspiration, plus preparing today's first Ready Posts batch and reading and marking the Engage queue). A read-only key calling a write endpoint - publish, schedule, reschedule, cancel, or draft a reply - gets 403 read_only_key. Use read-only keys for dashboards, monitoring, or any agent that should never post.
Base URL and limits
https://climbx.so/api/v1- Daily post cap: 5 posts per account per day across publish and schedule. Resets at 00:00 UTC. Over the cap returns
429. - No links: posts containing a URL are rejected with
400. Link posts cut reach and cost 13x to publish. - Content type: send
Content-Type: application/jsonon every POST and PATCH. - Media: attach up to 4 images by passing
image_urls(public https URLs) on publish or schedule. For an image with no public URL, upload it first and pass the returned id inimage_idson schedule or edit. Video over the API is a work in progress. - Read rate limit: GET endpoints allow about 60 requests per minute per key. Over it returns
429with aRetry-Afterheader. - Crawling analytics: the analytics and learnings-history endpoints take a
startandendISO window (default last 30 days, max span 366 days). Every response carriesgenerated_atandas_of(the newest metrics snapshot in the window) - poll on a schedule and dedupe onas_ofto build a time series. - Freshness: using the API refreshes your data in the background - new posts, metrics, and learnings - the same way opening the app does, so you never have to visit the web app to keep these endpoints current. Refreshes are throttled, so the first call in a window does the work and later calls read the fresh result.
MCP server
Connect your MCP client to https://climbx.so/mcp to read your ClimbX data and, with write permission, generate drafts, schedule, and publish posts. OAuth lets each person sign into their own ClimbX account without copying an API key. Existing Bearer-key connections continue to work.
Connect with OAuth
- Add
https://climbx.so/mcpas a remote MCP server in your client. - Choose OAuth if asked. Use dynamic client registration if the client offers a registration choice.
- Sign into ClimbX and check the account shown on the consent screen.
- Approve read access. Check the additional write-permission box only if you want the client to generate drafts, schedule, or publish.
- Try: “Show my scheduled posts. Don’t change anything.”
ChatGPT
In ChatGPT, enable Developer mode under Settings → Security and login, then open Plugins and use the plus button to add ClimbX with the server URL above. Complete the ClimbX sign-in and consent flow, then enable the connection from the tools menu in a new chat. Availability depends on your account and workspace policy. See the current OpenAI setup guide if the menu labels differ.
Claude
In Claude (web, desktop or mobile), open Settings → Connectors, add a custom connector with the server URL above, then select Connect and finish the ClimbX sign-in and consent flow. Turn ClimbX on from the tools menu in a chat. In Claude Code, run:
claude mcp add --transport http climbx https://climbx.so/mcpthen run /mcp and pick ClimbX to sign in. Prompts to try: “Show me today’s Ready Posts and pick the 3 strongest”, “How did my posts do over the last 30 days, and which format got the most replies?”, “What do I have scheduled for tomorrow?”. You need a ClimbX plan with a connected X account. Posts with links cannot be scheduled or published through the server, and nothing is posted until you approve the exact text.
Permissions and reconnecting
OAuth connections appear by app (for example “ChatGPT app” or “Cursor (MCP)”) in ClimbX → Account settings → API & agent access. An app we don’t recognise shows the name it gave itself next to its web address. Revoke a connection there to stop access. Access tokens expire after one hour; clients that request offline access can refresh them for up to 30 days before reconnecting. Your normal subscription, credits, and posting limits apply.
If consent expires or a connection attempt ends with access_denied, restart the connection from your MCP client to get a fresh consent page. Refreshing the error page does not restart authorization. Sign into linked accounts directly before authorizing them. If the error persists, contact support with the error and client name; never share a password, API key, or token.
Connect with an existing API key
Clients that accept a Bearer header can continue using the same setup:
claude mcp add --transport http climbx https://climbx.so/mcp \
--header "Authorization: Bearer climbx_sk_your_key"Tools mirror the REST API one-to-one (publish_post, schedule_post, edit_scheduled_post, upload_image, get_ready_posts, prepare_ready_posts, answer_ready_post_question, get_voice_posts, prepare_voice_posts, get_analytics, get_voice_profile, update_voice_profile, get_following_outliers, get_reply_targets, mark_reply_target, suggest_reply, ...) and enforce the same caps, rate limits, and guardrails - the MCP layer adds no separate rules. Prefer a local stdio server? The community-built climbx-cowork MCP wraps the same API.
Pair the server with the ClimbX Agent Skill - an installable guide that teaches an agent which tool to reach for, the drafting rules, and how to budget the daily cap. The MCP server executes; the skill reasons.
Publish a post now
/api/v1/postsShips a post to X immediately through the connected account. Attach up to 4 images with image_urls.
| Field | Type | Description | |
|---|---|---|---|
| text | string | required | The post body. Up to 25,000 chars with X Premium, 280 without. No URLs. |
| image_urls | string[] | optional | Up to 4 public https image URLs. Each is fetched and attached. Video is not supported yet. |
curl -X POST https://climbx.so/api/v1/posts \
-H "Authorization: Bearer climbx_sk_your_key" \
-H "Content-Type: application/json" \
-d '{"text": "shipped something today."}'{
"ok": true,
"id": "1799999999999999999",
"url": "https://x.com/i/web/status/1799999999999999999",
"record_id": "9f1c...",
"posts_used_today": 1,
"daily_cap": 5
}List recent posts with metrics
/api/v1/postsReturns the account’s recent published posts and their latest metrics snapshot.
| Field | Type | Description | |
|---|---|---|---|
| limit | number | optional | How many to return. 1 to 100, default 30. |
curl https://climbx.so/api/v1/posts?limit=10 \
-H "Authorization: Bearer climbx_sk_your_key"{
"posts": [
{
"id": "1799...",
"text": "...",
"format": "hot_take",
"posted_at": "2026-05-25T08:30:00Z",
"is_reply": false,
"metrics": {
"impressions": 14200,
"views": 14200,
"likes": 180,
"replies": 24,
"retweets": 12,
"quote_tweets": 3
}
}
]
}Schedule a post
/api/v1/scheduleQueues a post for a future time. ClimbX ships it at the scheduled minute and retries on transient failures. Past times are rejected.
| Field | Type | Description | |
|---|---|---|---|
| text | string | required | The post body. Up to 25,000 chars with X Premium, 280 without. No URLs. |
| scheduled_for | string | required | ISO 8601 datetime with an offset (2026-06-01T14:00:00Z), or a local time with no offset (2026-06-01T16:00), read in your ClimbX calendar timezone. |
| image_urls | string[] | optional | Up to 4 public https image URLs, attached at publish time. No video yet. |
| image_ids | string[] | optional | Ids from Upload an image. Attached before image_urls; 4 images in total. |
| ready_post_id | string | optional | The ready_post_id from Read today’s Ready Posts. Keeps the post linked: the Ready Post shows as scheduled and counts as your pick. Edited text is fine. Unknown ids return 404. |
curl -X POST https://climbx.so/api/v1/schedule \
-H "Authorization: Bearer climbx_sk_your_key" \
-H "Content-Type: application/json" \
-d '{"text": "morning thought.", "scheduled_for": "2026-06-01T08:00:00Z"}'{
"ok": true,
"scheduled": {
"id": "3a2b...",
"text": "morning thought.",
"scheduled_for": "2026-06-01T08:00:00Z",
"scheduled_for_local": "2026-06-01T10:00",
"status": "pending"
},
"timezone": "Europe/Copenhagen",
"posts_used_today": 2,
"daily_cap": 5
}List scheduled posts
/api/v1/scheduleReturns upcoming posts that are still pending or mid-publish. Pass a local date to review one calendar day; ClimbX uses the account's configured schedule timezone unless an IANA timezone is supplied. Dated results include an absolute edit_url that opens the connected post in Studio, where the signed-in user can revise it without an API client changing it. Every post also has scheduled_for_local: the same time in the calendar timezone, as the ClimbX calendar shows it, plus image_count and images. Each image has an image_id (pass it back on an edit to keep the image) and a url to view it. That link expires after 1 hour, so do not save it: keep the image_id and list again for a fresh link.
curl "https://climbx.so/api/v1/schedule?date=2026-08-24&timezone=Europe%2FCopenhagen" \
-H "Authorization: Bearer climbx_sk_your_key"{
"timezone": "Europe/Copenhagen",
"scheduled": [
{
"id": "3a2b...",
"text": "morning thought.",
"scheduled_for": "2026-06-01T08:00:00Z",
"scheduled_for_local": "2026-06-01T10:00",
"status": "pending",
"edit_url": "https://climbx.so/composer?editScheduledId=3a2b...",
"image_count": 1,
"images": [{ "image_id": "9f1c...", "url": "https://..." }]
}
]
}Upload an image
/api/v1/imagesStores one image you hold as a file, with no public URL, and returns an image_id. Pass that id in image_ids when you schedule or edit a post. Nothing is posted and no daily-cap slot is used. An image goes on one post; upload it again to use it on another. Limit: 40 images per account per 24 hours. An image that is never put on a post is deleted after 7 days.
Send data for a small image, or content_type for a file up to 5 MB. Send one of the two, not both.
| Field | Type | Description | |
|---|---|---|---|
| data | string | optional | The image file as base64, bare or as a data: URL. PNG, JPEG, WebP or GIF, up to 3 MB. |
| content_type | string | optional | image/png, image/jpeg, image/webp or image/gif. Returns an upload_url instead of storing bytes: PUT the raw file to it within 2 hours. Up to 5 MB. |
curl -X POST https://climbx.so/api/v1/images \
-H "Authorization: Bearer climbx_sk_your_key" \
-H "Content-Type: application/json" \
-d '{"data": "iVBORw0KGgoAAAANSUhEUg..."}'{
"ok": true,
"image_id": "9f1c...",
"mime_type": "image/png",
"byte_size": 48213,
"url": "https://..."
}curl -X POST https://climbx.so/api/v1/images \
-H "Authorization: Bearer climbx_sk_your_key" \
-H "Content-Type: application/json" \
-d '{"content_type": "image/png"}'
# Response: { "ok": true, "image_id": "9f1c...", "upload_url": "https://...", ... }
curl -X PUT -H "Content-Type: image/png" --data-binary @chart.png "<upload_url>"The upload URL takes one file, once. The file is checked the first time you use the image_id on a schedule or edit call: it has to be there, be a real PNG, JPEG, WebP or GIF, and be 5 MB or less.
Edit or reschedule a pending post
/api/v1/schedule/{id}Changes the text, the time, the images, or any mix of a still-pending scheduled post. It keeps the same id and slot and doesn’t use a daily-cap slot, so edit instead of cancelling and re-creating. New text follows the same rules as create (no links). Threads and posts with a video can’t be edited here. Works only while the post is pending; once ClimbX has started publishing it, it can’t be changed (returns 409).
Sending image_urls or image_ids replaces the post’s images with exactly that set. To add an image and keep the others, include the current image_id values from List scheduled posts. An empty image_urls array removes all images. Leave both fields out to keep the images as they are. The limit of 4 images applies on edits too: image_ids and image_urls are counted together, and more than 4 returns too_many_images.
| Field | Type | Description | |
|---|---|---|---|
| text | string | optional | New post body. Send at least one field. |
| scheduled_for | string | optional | New time: ISO 8601 with an offset, or a local time with no offset in your calendar timezone. |
| image_urls | string[] | optional | Public https image URLs. Replaces the current images; [] removes them all. |
| image_ids | string[] | optional | Ids from Upload an image, or ids already on this post to keep them. Placed before image_urls; 4 images in total. |
curl -X PATCH https://climbx.so/api/v1/schedule/3a2b... \
-H "Authorization: Bearer climbx_sk_your_key" \
-H "Content-Type: application/json" \
-d '{"scheduled_for": "2026-06-02T09:30:00Z"}'{
"ok": true,
"scheduled": {
"id": "3a2b...",
"text": "morning thought.",
"scheduled_for": "2026-06-02T09:30:00Z",
"scheduled_for_local": "2026-06-02T11:30",
"status": "pending"
},
"timezone": "Europe/Copenhagen"
}Cancel a scheduled post
/api/v1/schedule/{id}Cancels a still-pending scheduled post so it won’t publish. Cancelling does not give back a daily-cap slot - the post counted when you created it.
curl -X DELETE https://climbx.so/api/v1/schedule/3a2b... \
-H "Authorization: Bearer climbx_sk_your_key"{
"ok": true,
"cancelled": { "id": "3a2b...", "status": "cancelled" }
}Read today's Ready Posts
/api/v1/ready-postsReturns today's existing 10 Ready Posts and generation state. This endpoint is strictly read-only: an empty batch remains empty until the prepare endpoint is called. Each post has a ready_post_id; pass it when you schedule that post so it stays linked to its Ready Post.
Every response has status (ready, generating, not_started or failed), a plain message and a next_step to follow. not_started means call the prepare endpoint. generating means read again after retry_after_seconds (60).
Some days one card has kind: "ask", text: null, a title (the post angle), a question asking for the one exact fact it needs and an example answer. It is a question for your user, not a post. Ask them and send their own reply to the answer endpoint. Never invent an answer, and never schedule an ask card.
curl https://climbx.so/api/v1/ready-posts \
-H "Authorization: Bearer climbx_sk_your_key"Answer an ask card
/api/v1/ready-posts/{id}/answerTurns your user's reply to an ask card into one post in their voice, written from only that answer. {id} is the card's ready_post_id. The response is a normal Ready Post you can schedule with its ready_post_id once the user approves it. Errors: answer_required, answer_too_long (over 600 characters), answer_unclear (no real answer, e.g. a keyboard mash), not_an_ask_card, already_answered, x_post_too_long and answer_failed (502, retry). Requires a read & write key. MCP: answer_ready_post_question.
curl -X POST https://climbx.so/api/v1/ready-posts/3a2b.../answer \
-H "Authorization: Bearer climbx_sk_your_key" \
-H "Content-Type: application/json" \
-d '{"answer":"1,240 replies in October, 310 in September"}'Prepare today's Ready Posts
/api/v1/ready-postsCreates only today's first missing batch through the normal ClimbX generation pipeline. The operation is idempotent, returns an existing complete batch unchanged, and can never request a paid reroll. Read-only keys can call it too.
The call waits for the run (usually 1-2 minutes) and returns the posts with status: "ready". If a run is already going it returns at once with status: "generating" and a Retry-After header: don't call it again, read today's Ready Posts after 60 seconds. Do the same if the call times out.
curl -X POST https://climbx.so/api/v1/ready-posts \
-H "Authorization: Bearer climbx_sk_your_key" \
-H "Content-Type: application/json" \
-d '{}'Read today's voice optimized posts
/api/v1/voice-postsThe “Voice optimized” tab of Ready Posts: about six posts built only from the user's own posts, facts, niches and post shapes, so they read like the user wrote them. Each post has a voice_post_id, text, niche, format and why. Read-only: an empty set stays empty until the prepare endpoint is called. Schedule an approved post with its text and no ready_post_id. MCP: get_voice_posts.
Every response has status (ready, generating or not_started), a plain message and a next_step. A card with kind: "ask" is a question the user answers in the app; never schedule it.
curl https://climbx.so/api/v1/voice-posts \
-H "Authorization: Bearer climbx_sk_your_key"Prepare today's voice optimized posts
/api/v1/voice-postsWrites today's first set when there is none (usually under a minute) and returns it. Idempotent and free; it can never request a paid reroll. Read-only keys can call it. MCP: prepare_voice_posts.
curl -X POST https://climbx.so/api/v1/voice-posts \
-H "Authorization: Bearer climbx_sk_your_key" \
-H "Content-Type: application/json" \
-d '{}'Performance summary
/api/v1/analyticsHeadline KPIs plus a per-format breakdown over a window, and a daily series with posts and impressions per UTC day (empty days included). Replies are excluded.
| Field | Type | Description | |
|---|---|---|---|
| days | number | optional | Lookback window. 1 to 90, default 30. |
curl https://climbx.so/api/v1/analytics?days=30 \
-H "Authorization: Bearer climbx_sk_your_key"{
"range_days": 30,
"summary": {
"posts_published": 42,
"total_impressions": 512000,
"avg_impressions": 12190,
"avg_replies": 18,
"avg_likes": 140,
"engagement_rate_pct": 2.8
},
"by_format": [
{ "format": "hot_take", "posts": 12, "median_replies": 22, "median_impressions": 15000 }
],
"daily": [
{ "date": "2026-05-02", "posts": 2, "impressions": 18400 }
]
}Format performance
/api/v1/analytics/formatsPer-format breakdown over a window: how many posts, their share, and the median replies and impressions, with a trend (up/down/neutral) comparing each format against your typical post in the same window. avg_replies is the average replies per post with viral posts (over 4x the window's median, once there are 8 or more posts) left out: the number the Formats card in the app shows.
| Field | Type | Description | |
|---|---|---|---|
| start | string | optional | ISO datetime window start. Defaults to 30 days before end. |
| end | string | optional | ISO datetime window end. Defaults to now. |
generated_at is when the response was computed; as_of is the newest metrics snapshot in the window (when the numbers last moved). Max span 366 days.
curl "https://climbx.so/api/v1/analytics/formats?start=2026-05-01T00:00:00Z&end=2026-06-01T00:00:00Z" \
-H "Authorization: Bearer climbx_sk_your_key"{
"generated_at": "2026-06-01T12:00:00Z",
"as_of": "2026-05-31T22:10:00Z",
"window": { "start": "2026-05-01T00:00:00Z", "end": "2026-06-01T00:00:00Z" },
"posts_analyzed": 42,
"median_impressions": 12000,
"rows": [
{
"format": "hot_take",
"posts": 12,
"share": 29,
"replies": { "value": 22, "trend": "up" },
"impressions": { "value": 15000, "trend": "up" },
"avg_replies": 25
}
]
}Niche performance
/api/v1/analytics/nichesSame shape as Format performance, bucketed by niche instead of format, including avg_replies (the number the Topics card shows). Posts with no niche label come back under "__unlabeled__".
| Field | Type | Description | |
|---|---|---|---|
| start | string | optional | ISO datetime window start. Defaults to 30 days before end. |
| end | string | optional | ISO datetime window end. Defaults to now. |
curl "https://climbx.so/api/v1/analytics/niches?start=2026-05-01T00:00:00Z&end=2026-06-01T00:00:00Z" \
-H "Authorization: Bearer climbx_sk_your_key"{
"generated_at": "2026-06-01T12:00:00Z",
"as_of": "2026-05-31T22:10:00Z",
"window": { "start": "2026-05-01T00:00:00Z", "end": "2026-06-01T00:00:00Z" },
"posts_analyzed": 42,
"median_impressions": 12000,
"rows": [
{
"niche": "saas",
"posts": 18,
"share": 43,
"replies": { "value": 20, "trend": "neutral" },
"impressions": { "value": 13500, "trend": "up" },
"avg_replies": 21
}
]
}Account overview
/api/v1/analytics/overviewThe four overview cards from the Analytics screen. Followers: the latest count, the change over the period, and that change as a % of the count the period opened on. Posts, impressions and engagements: the period total, the previous period's total and the % change. Plus the daily series behind the charts. Days are UTC; posts count on the day they went out, with each post's latest metric reading. Replies, self-replies and hidden posts are left out.
| Field | Type | Description | |
|---|---|---|---|
| days | number | optional | Period in days. 7 to 90, default 30. |
curl https://climbx.so/api/v1/analytics/overview?days=30 \
-H "Authorization: Bearer climbx_sk_your_key"{
"generated_at": "2026-06-01T12:00:00Z",
"range_days": 30,
"window": { "start_date": "2026-05-03", "end_date": "2026-06-01" },
"previous_window": { "start_date": "2026-04-03", "end_date": "2026-05-03" },
"followers": {
"current": 1240,
"opened_at": 1105,
"change": 135,
"change_pct": 12.2,
"tracked_since": "2026-03-14"
},
"posts": { "value": 42, "previous": 35, "change": 7, "change_pct": 20 },
"impressions": { "value": 512000, "previous": 430000, "change": 82000, "change_pct": 19 },
"engagements": { "value": 14300, "previous": 12100, "change": 2200, "change_pct": 18 },
"daily": [
{ "date": "2026-05-03", "posts": 2, "impressions": 18400, "engagements": 510 }
],
"followers_daily": [
{ "date": "2026-05-02", "followers": 1105, "estimated": false }
]
}followers is null before any follower count is logged. change_pct is null when there is nothing to compare with. followers_daily opens on the day before the period (the count it opened on); estimated days are read off the line between two readings.
Weekly report
/api/v1/analytics/weekly-reportThe latest weekly report, as the Weekly report screen shows it. ClimbX builds it once a week (Tuesdays, UTC) when the account opens the app; this endpoint only reads the stored report and never builds one. Without a current report it returns { "available": false, "message": "..." }.
curl https://climbx.so/api/v1/analytics/weekly-report \
-H "Authorization: Bearer climbx_sk_your_key"{
"generated_at": "2026-06-02T09:00:00Z",
"available": true,
"window": { "start": "2026-05-19T00:00:00Z", "end": "2026-06-02T00:00:00Z", "weeks": 2 },
"posts_analyzed": 28,
"avg_reach": 2140,
"prev_avg_reach": 1810,
"avg_reach_change_pct": 18,
"main_takeaway": {
"title": "Questions win",
"headline": "Posts with a question got 41% more replies."
},
"patterns": [
{
"key": "question",
"action": "Ask a question",
"title": "Questions win",
"headline": "Posts with a question got 41% more replies.",
"metric": "replies",
"lift_pct": 41,
"signal": "Moderate",
"explanation": "Questions get more replies than statements.",
"how_to": "End with one specific question people can answer fast.",
"sample": "9 with a question vs 19 without, last 2 weeks.",
"caveat": null
}
],
"median_reach_by_weekday": {
"best_day": "Tuesday",
"lift_pct": 32,
"days": [{ "day": "Sunday", "median_reach": 1500, "posts": 3 }]
}
}patterns are strongest first. lift_pct is the gain from doing the action; signal is Strong, Moderate or Early by sample size. median_reach_by_weekday is null when there are too few posts per day.
Posting habits
/api/v1/analytics/posting-habitsThe Posting time and Activity blocks from the Analytics screen. Posting time: median views by the hour a post went out, and the strongest 3-hour window with its % lift over the typical post and how many posts it rests on. Only posts at least a day old count, and viral posts are left out. Activity: the last 90 UTC days of posting with active days, the current streak, days at the daily goal and the goal.
Hours are in the response's timezone. timezone_source is account when the user set a timezone in ClimbX, or default_utc when none is set and the hours are UTC. Convert UTC hours to the user's local time before giving advice. The activity grid is always UTC days.
| Field | Type | Description | |
|---|---|---|---|
| days | number | optional | Days of posts used for the posting time. 7 to 90, default 30. Activity always covers 90 days. |
curl https://climbx.so/api/v1/analytics/posting-habits \
-H "Authorization: Bearer climbx_sk_your_key"{
"generated_at": "2026-06-01T12:00:00Z",
"timezone": "Europe/Copenhagen",
"timezone_source": "account",
"timezone_note": "Posting hours are in Europe/Copenhagen, the timezone set in the account's ClimbX settings.",
"posting_time": {
"range_days": 30,
"posts_used": 38,
"typical_views": 1900,
"hours": [{ "hour": 9, "label": "09:00", "posts": 6, "median_views": 2600 }],
"best_window": {
"start_hour": 9,
"end_hour": 12,
"label": "09:00 - 12:00",
"lift_pct": 24,
"posts": 14,
"median_views": 2450,
"clear": true
},
"note": "..."
},
"activity": {
"days": 90,
"day_basis": "UTC",
"active_days": 71,
"current_streak": 12,
"days_at_goal": 40,
"daily_goal": 2,
"today_count": 1,
"grid": [{ "date": "2026-03-04", "count": 2 }],
"note": "..."
}
}best_window is null until there are 12 counted posts spread over at least two times of day. clear is false when the lead is under 10%; the app then shows no best time. end_hour is exclusive.
Posts to learn from
/api/v1/analytics/posts-to-learn-fromThe highest- and lowest-reach posts in the period, each with its reach as a multiple of the period's median (multiplier). The app's “Do more of this” and “Do less of this” cards show the first of each list. Posts that are only a link or media are skipped, low posts must be at least 24 hours old, and no post shows up in both lists.
| Field | Type | Description | |
|---|---|---|---|
| days | number | optional | Period in days. 7 to 90, default 30. |
| limit | number | optional | Posts per list. 1 to 10, default 5. |
curl "https://climbx.so/api/v1/analytics/posts-to-learn-from?days=30&limit=5" \
-H "Authorization: Bearer climbx_sk_your_key"{
"generated_at": "2026-06-01T12:00:00Z",
"range_days": 30,
"window": { "start": "2026-05-02T12:00:00Z", "end": "2026-06-01T12:00:00Z" },
"posts_analyzed": 42,
"median_impressions": 1900,
"top": [
{
"post_id": "1790000000000000000",
"url": "https://x.com/i/status/1790000000000000000",
"text": "what's the one tool you'd keep if you lost the rest?",
"format": "question",
"posted_at": "2026-05-20T08:12:00Z",
"impressions": 9800,
"replies": 61,
"likes": 140,
"multiplier": 5.16
}
],
"bottom": []
}Voice profile
/api/v1/voiceThe account’s voice persona, evidence-backed learnings, cadence targets, and posting schedule. Use it to draft in the owner’s voice and time posts well.
curl https://climbx.so/api/v1/voice \
-H "Authorization: Bearer climbx_sk_your_key"{
"voice": {
"persona": "lowercase, short lines, founder-to-founder...",
"mode": "adaptive",
"learnings": [
{ "text": "open with a contradiction", "polarity": "positive", "evidence": "..." }
],
"cadence": { "phase": "grow", "posts_per_day": 2, "replies_per_day": 5 },
"schedule": {
"timezone": "Europe/Copenhagen",
"active_start_hour": 8,
"active_end_hour": 22,
"weekly_slots": { "mon": ["09:00", "17:00"] }
}
}
}Calibrate tone
/api/v1/voiceReplace the persona, the tone prompt ClimbX drafts in, and/or the learning mode. Send the full new persona (max 4,000 characters), not a diff. An edited persona stays yours: ClimbX’s weekly voice refresh never overwrites it. An empty persona hands the voice back to ClimbX to derive from your posts. mode is adaptive (keeps learning from new posts) or locked. Needs a full-access key. Returns the updated profile, same shape as the GET.
curl -X PATCH https://climbx.so/api/v1/voice \
-H "Authorization: Bearer climbx_sk_your_key" \
-H "Content-Type: application/json" \
-d '{"persona": "lowercase, short lines, no emojis, one idea per post"}'Ongoing learnings
/api/v1/learningsThe account’s current “Ongoing learnings” - the do-more (positive) and do-less (negative) rules ClimbX derived from the owner’s own posts, each with its evidence. last_derived_at is when the set was last recomputed.
curl https://climbx.so/api/v1/learnings \
-H "Authorization: Bearer climbx_sk_your_key"{
"generated_at": "2026-06-01T12:00:00Z",
"last_derived_at": "2026-05-30T03:00:00Z",
"learnings": {
"positive": [
{ "text": "open with a contradiction", "source": "derived", "evidence": "..." }
],
"negative": [
{ "text": "long multi-paragraph posts underperform", "source": "derived", "evidence": "..." }
]
}
}Learnings history
/api/v1/learnings/historyThe recorded timeline of the learnings set - one snapshot each time it was re-derived, within the window. Use it to chart how the rules evolved. History accrues going forward from when the feature shipped; there is no retroactive backfill.
| Field | Type | Description | |
|---|---|---|---|
| start | string | optional | ISO datetime window start. Defaults to 30 days before end. |
| end | string | optional | ISO datetime window end. Defaults to now. |
curl "https://climbx.so/api/v1/learnings/history?start=2026-05-01T00:00:00Z&end=2026-06-01T00:00:00Z" \
-H "Authorization: Bearer climbx_sk_your_key"{
"generated_at": "2026-06-01T12:00:00Z",
"window": { "start": "2026-05-01T00:00:00Z", "end": "2026-06-01T00:00:00Z" },
"snapshots": [
{
"captured_at": "2026-05-30T03:00:00Z",
"learnings": { "positive": [ ... ], "negative": [ ... ] }
}
]
}Filter options
/api/v1/inspiration/optionsA self-describing map of the filters both inspiration feeds accept - every enumerated value with its label and default - plus your tracked_handles. Fetch it once to populate dropdowns or to teach an agent what to send; the enum values map directly onto a tool schema. Takes no params.
curl https://climbx.so/api/v1/inspiration/options \
-H "Authorization: Bearer climbx_sk_your_key"{
"generated_at": "2026-06-01T12:00:00Z",
"feeds": {
"following": {
"path": "/api/v1/inspiration/following",
"filters": {
"handles": { "kind": "csv", "options_from": "tracked_handles" },
"limit": { "kind": "range", "default": 30, "min": 1, "max": 100 }
}
},
"surprise": {
"path": "/api/v1/inspiration/surprise",
"filters": {
"min_multiplier": {
"kind": "enum", "default": 1.5,
"options": [
{ "value": 1.5, "label": "1.5x+" },
{ "value": 3, "label": "3x+" }
]
},
"format": {
"kind": "enum", "default": null,
"options": [ { "value": "hot_take", "label": "Hot take", "description": "..." } ]
},
"recency": { "kind": "enum", "default": "all", "options": [ ... ] },
"image": { "kind": "enum", "default": "all", "options": [ ... ] }
}
}
},
"tracked_handles": [ { "handle": "@levelsio", "name": "Pieter Levels" } ]
}Following outliers
/api/v1/inspiration/followingOutlier posts from the creators you track - the app’s Following feed. The tracked list is read from your account; pass handles to narrow to a subset of it. Every item is a real post that outperformed its author’s baseline, with a multiplier (post vs author baseline) and a deep post_url. DB-only and read-only: no scanning is triggered, so responses reflect data already scanned in the app.
| Field | Type | Description | |
|---|---|---|---|
| handles | string | optional | Comma-separated handles to narrow to a subset of the creators you track. Omit for all of them. |
| limit | number | optional | Max outliers to return, 1-100. Defaults to 30. |
curl "https://climbx.so/api/v1/inspiration/following?limit=20" \
-H "Authorization: Bearer climbx_sk_your_key"{
"generated_at": "2026-06-01T12:00:00Z",
"feed": "following",
"creator_count": 4,
"outliers": [
{
"handle": "@levelsio",
"name": "Pieter Levels",
"id": "a1b2...",
"text": "shipped it in a weekend...",
"format": "build_in_public",
"niche": "saas",
"posted_at": "2026-05-28T09:12:00Z",
"replies": 120,
"likes": 3400,
"retweets": 210,
"impressions": 180000,
"multiplier": 4.2,
"post_url": "https://x.com/levelsio/status/...",
"image_urls": []
}
]
}Surprise me
/api/v1/inspiration/surpriseRandom outliers from across the network, excluding creators you already track - the app’s “Surprise me” discovery feed. Same post shape as Following outliers. Filters snap to the app’s buckets. DB-only and read-only: no scanning is triggered.
| Field | Type | Description | |
|---|---|---|---|
| min_multiplier | number | optional | Floor on the outlier multiplier; snaps to 1.5, 2, 3, 7, or 30 (viral). |
| min_impressions | number | optional | Floor on impressions; snaps to 0, 10000, 50000, or 100000. |
| format | string | optional | Restrict to one format (e.g. hot_take); all = no filter. |
| recency | string | optional | 7d or 30d to limit to recent posts; all = no floor. |
| image | string | optional | with = posts with media, without = text-only. |
| limit | number | optional | Max outliers to return, 1-100. Defaults to 30. |
curl "https://climbx.so/api/v1/inspiration/surprise?min_multiplier=3&recency=30d" \
-H "Authorization: Bearer climbx_sk_your_key"{
"generated_at": "2026-06-01T12:00:00Z",
"feed": "surprise",
"creator_count": 6,
"outliers": [
{
"handle": "@levelsio",
"name": "Pieter Levels",
"id": "a1b2...",
"text": "shipped it in a weekend...",
"format": "build_in_public",
"niche": "saas",
"posted_at": "2026-05-28T09:12:00Z",
"replies": 120,
"likes": 3400,
"retweets": 210,
"impressions": 180000,
"multiplier": 4.2,
"post_url": "https://x.com/levelsio/status/...",
"image_urls": []
}
]
}Posts worth replying to
/api/v1/engage/nextThe account’s Engage queue, best first, ranked like the Engage tab: fresh posts worth replying to, each with its full text, link, author and a one-line why. Posts already marked never come back. Read-only keys work and a call costs no X API spend. ClimbX never drafts or sends the reply: open the url, judge the post, write the reply yourself and send it on X. Use this instead of searching X for posts to reply to. MCP: get_reply_targets.
Each target’s kind says what sort of pick it is: taking_off (breaking out right now, far above the author’s normal reach), outlier (1.5x or more the author’s usual engagement, with the number in outlier_multiple), member (a post by another ClimbX member in this niche) or topic (a fresh post found for the account’s Engage topics).
| Field | Type | Description | |
|---|---|---|---|
| limit | number | optional | 1 to 20. Default 10. |
| max_age_hours | number | optional | Only posts younger than this, 1 to 16. Default 6. |
| exclude | string | optional | Comma-separated post_ids already seen in this run. |
curl "https://climbx.so/api/v1/engage/next?limit=5" \
-H "Authorization: Bearer climbx_sk_your_key"{
"status": "ready",
"message": "5 posts worth replying to, best first. 2 of 30 safe replies used today.",
"next_step": "Open each url and judge it. Reply on X only where you add something real...",
"targets": [
{
"post_id": "1790000000000000001",
"url": "https://x.com/founder/status/1790000000000000001",
"text": "how do you price your first saas?",
"quoted_text": null,
"author_handle": "founder",
"author_name": "A Founder",
"author_followers": 4200,
"created_at": "2026-11-01T08:30:00.000Z",
"age_minutes": 30,
"replies": 3, "likes": 20, "views": 900,
"has_image": false,
"why": "3.1x the author's usual engagement · asks for advice",
"score": 31.4,
"kind": "outlier",
"outlier_multiple": 3.1,
"taking_off": false
}
],
"replies_today": 2,
"daily_reply_target": 30,
"max_age_hours": 6,
"empty_reason": null
}Mark a post replied or skipped
/api/v1/engage/next/{post_id}Marks a post from the queue as handled in the account’s own Engage list: it never comes back, and Engage learns what fits, the same as the Replied and Skip buttons. Writes nothing on X, so read-only keys work. Idempotent per post. The account’s first skips need a skip_reason (400 skip_reason_required). MCP: mark_reply_target.
| Field | Type | Description | |
|---|---|---|---|
| status | string | required | "replied" after you replied on X, or "skipped". |
| skip_reason | string | optional | wrong_topic, low_quality, promotion, already_covered or nothing_to_add. |
curl -X POST https://climbx.so/api/v1/engage/next/1790000000000000001 \
-H "Authorization: Bearer climbx_sk_your_key" \
-H "Content-Type: application/json" \
-d '{"status": "skipped", "skip_reason": "nothing_to_add"}'Draft a reply
/api/v1/engage/suggest-replyGiven a post you are considering replying to, returns ONE suggested reply in the account owner’s voice - the same drafting core, credit pool, and guardrails as the Engage tab (this is what the ClimbX Chrome extension calls). The draft is a suggestion: the human edits and sends it on X themselves. Drafting stays locked (403 locked) until the owner has written enough replies in their own words in the app, and each draft spends one shared daily AI credit (402 when the pool is empty).
| Field | Type | Description | |
|---|---|---|---|
| text | string | required | The post to reply to. 1 to 4000 chars. |
| authorHandle | string | optional | The post author’s handle, without the @. |
curl -X POST https://climbx.so/api/v1/engage/suggest-reply \
-H "Authorization: Bearer climbx_sk_your_key" \
-H "Content-Type: application/json" \
-d '{"text": "shipped my first saas in a weekend, what should i build next?", "authorHandle": "levelsio"}'{
"reply": "the weekend ship is the easy part, the scary question is which one you keep showing up for. what pulled you back so far?"
}Errors
Errors return a JSON body with an error code and a human message.
| Status | error | When |
|---|---|---|
| 400 | invalid_body / invalid_query / url_posts_not_allowed / invalid_id / invalid_window | Bad payload or query params, the text contains a link, a malformed id, or a bad start/end window. |
| 401 | missing_bearer / invalid_key | No key, or the key is unknown or revoked. |
| 402 | subscription_required | The owning account is not on a plan or trial. |
| 402 / 403 | insufficient_credits / locked | Draft endpoints: out of daily AI credits, or AI drafting has not been unlocked with enough hand-written replies yet. |
| 403 | read_only_key | The key is read-only and the endpoint writes (publish, schedule, reschedule, cancel, draft). Mint a read & write key. |
| 404 | not_found | No scheduled post with that id on this account. |
| 400 | image_rejected | An image_url could not be used: bad URL, blocked host, too large, or not an image. |
| 400 | image_not_found / too_many_images | An image_id is not an uploaded image on this account, or the post would have more than 4 images. |
| 409 | image_in_use | An image_id is already on another post. Upload the image again to reuse it. |
| 500 | image_lookup_failed | The image could not be checked. Nothing changed, so the same call can be retried. |
| 400 / 413 | image_invalid_base64 / image_unsupported_type / image_too_large | Upload refused: not base64, not a PNG, JPEG, WebP or GIF (convert it), or over 3 MB (use an upload_url or resize). On a schedule or edit call these describe the file sent to an upload_url: image_unsupported_type means it is not one of the four image types, image_too_large means it is over 5 MB. Either way the file was deleted; upload again. |
| 400 | image_not_uploaded | An image_id from an upload_url has no file yet. PUT the file, then call again. |
| 429 | image_upload_limit | 40 images added in the last 24 hours. Try later. |
| 409 | x_not_connected / x_token_expired / not_pending | Reconnect X, or the post is no longer pending (already publishing or published). |
| 429 | daily_post_cap_reached | Hit the 8/day post cap. Resets 00:00 UTC. |
| 429 | rate_limited | Too many GET requests this minute. Back off per the Retry-After header. |
| 500 | image_store_failed | Could not store a scheduled image. A new post is rolled back; an edit changes nothing, text and time included. |
| 500 | partial_update | Rare: an edit saved the text and time, but the images failed and the post began publishing before the text could be put back. |
| 502 | publish_failed / media_upload_failed | X rejected the post or an image. |
