Palmyr Social API
The Social API from Palmyr — 15 operation(s) for social.
The Social API from Palmyr — 15 operation(s) for social.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/palmyr-ai:palmyr-ai-social-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Palmyr Social API
description: Autonomous infrastructure for AI agents — pay with USDC on Solana or Base via x402.
version: 0.4.7
x-guidance: 'Palmyr is a paid HTTP API that lets agents buy and operate their own infrastructure: phone numbers, email inboxes, custom domains, cloud servers, third-party API keys. Identity = wallet address. Pay with USDC; the wallet that pays becomes the owner of the resource. Every paid endpoint returns 402 with a valid x402 challenge. Use the `extra.facilitator` field on each accepts entry to route the settlement (CDP for EVM, self-hosted for Solana). Solana uses a server-paid fee-payer pattern — payers only need USDC, never SOL. Some routes price dynamically (x-payment-info.price.mode === ''dynamic'', e.g. POST /social/twitter/buy) — never assume a fixed amount for these; send the request unpaid to get a 402 whose `accepts` carry the live price, then pay that. Check before you pay: free preflight routes (x-payment-info.price.mode === ''free'') let you probe availability and price first — GET /pricing, GET /domains/check, GET /domains/pricing, GET /phone/numbers/search, plus free POST /agents/register. Other free helpers: GET /api, /health, /version. Async operations that aren''t finished when they respond return a `poll_url` alongside `operation_id` and a `status` (and sometimes `poll_after_seconds`) — e.g. POST /compute/servers (server provisioning ~60s) and the /transfers endpoints. Treat any response carrying `poll_url` as in-progress: GET the poll_url until `status` is terminal (completed/failed; for servers, running).'
servers:
- url: https://palmyr.ai
tags:
- name: Social
paths:
/social/twitter/buy:
post:
summary: POST /social/twitter/buy
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: dynamic
currency: USD
hint: Price depends on request parameters. Send the request with no payment to get a 402 challenge whose `accepts` entries carry the live amount, then pay that.
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Social
operationId: postSocialTwitterBuy
x-operation-id-source: derived
/social/twitter/follow:
post:
summary: POST /social/twitter/follow
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Social
operationId: postSocialTwitterFollow
x-operation-id-source: derived
/social/twitter/like:
post:
summary: POST /social/twitter/like
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Social
operationId: postSocialTwitterLike
x-operation-id-source: derived
/social/twitter/login:
post:
summary: POST /social/twitter/login
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.005'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Social
operationId: postSocialTwitterLogin
x-operation-id-source: derived
/social/twitter/post-thread:
post:
summary: POST /social/twitter/post-thread
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.005'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Social
operationId: postSocialTwitterPostThread
x-operation-id-source: derived
/social/twitter/post:
post:
summary: POST /social/twitter/post
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Social
operationId: postSocialTwitterPost
x-operation-id-source: derived
/social/twitter/register:
post:
summary: POST /social/twitter/register
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Social
operationId: postSocialTwitterRegister
x-operation-id-source: derived
/social/twitter/reply:
post:
summary: POST /social/twitter/reply
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Social
operationId: postSocialTwitterReply
x-operation-id-source: derived
/social/twitter/retweet:
post:
summary: POST /social/twitter/retweet
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr
tags: []
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
tags:
- Social
operationId: postSocialTwitterRetweet
x-operation-id-source: derived
/social/tiktok/login:
post:
summary: Open an authenticated TikTok session for an account you control
description: Open an authenticated TikTok session for an account you control.
tags:
- Social
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.02'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr Social
category: social
tags:
- social
- tiktok
- login
- session
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
operationId: postSocialTiktokLogin
x-operation-id-source: derived
/social/tiktok/post:
post:
summary: Post a video to a TikTok account you control (from video_base64 or video_url)…
description: 'Post a video to a TikTok account you control (from video_base64 or video_url), now or scheduled. Optional schedule_at (ISO-8601) uses TikTok''s OWN scheduler, which accepts only ~15 minutes to ~10 days ahead — there is no way to schedule further out. Async: returns an operation to poll.'
tags:
- Social
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr Social
category: social
tags:
- social
- tiktok
- post
- video
- schedule
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
operationId: postSocialTiktokPost
x-operation-id-source: derived
/social/twitter/avatar:
post:
summary: Update the avatar image of an X account you control.
description: 'Update the avatar image of an X account you control. Async: returns an operation to poll.'
tags:
- Social
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.005'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr Social
category: social
tags:
- social
- twitter
- x
- avatar
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
operationId: postSocialTwitterAvatar
x-operation-id-source: derived
/social/twitter/banner:
post:
summary: Update the banner image of an X account you control.
description: 'Update the banner image of an X account you control. Async: returns an operation to poll.'
tags:
- Social
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.005'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr Social
category: social
tags:
- social
- twitter
- x
- banner
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
operationId: postSocialTwitterBanner
x-operation-id-source: derived
/social/twitter/profile:
post:
summary: Update the profile (name/bio/location/url) of an X account you control
description: Update the profile (name/bio/location/url) of an X account you control.
tags:
- Social
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.001'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr Social
category: social
tags:
- social
- twitter
- x
- profile
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
operationId: postSocialTwitterProfile
x-operation-id-source: derived
/social/twitter/username:
post:
summary: Change the @handle of an X account you control
description: Change the @handle of an X account you control.
tags:
- Social
parameters:
- name: X-Payment
in: header
required: true
description: x402 payment payload (Solana or EVM USDC). Get the challenge from the route's 402 response.
schema:
type: string
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.005'
protocols:
- x402: {}
extensions:
bazaar:
discoverable: true
serviceName: Palmyr Social
category: social
tags:
- social
- twitter
- x
- username
- handle
iconUrl: https://palmyr.ai/assets/bazaar-icon.png
schema:
properties:
input:
type: object
additionalProperties: true
output:
type: object
additionalProperties: true
info:
input:
type: http
method: POST
bodyType: json
body: {}
inputSchema:
properties:
body:
type: object
additionalProperties: true
required: []
output:
example: {}
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
additionalProperties: true
'402':
description: Payment Required
content:
application/json:
schema:
type: object
additionalProperties: true
requestBody:
required: false
content:
application/json:
schema:
type: object
additionalProperties: true
operationId: postSocialTwitterUsername
x-operation-id-source: derived
components:
securitySchemes:
x402:
type: apiKey
in: header
name: X-Payment
description: x402 payment payload (Solana or EVM USDC). See the 402 challenge response on any paid endpoint.