How many X credits one post (or a whole thread) would use, before it is published or scheduled
get/api/x/quote
Request
- Base URL: https://postwire.io
- URL: https://postwire.io/api/x/quote
- Auth: HTTP bearer
Query parameters
textstring
The X post's text. A link anywhere in it (also a bare domain such as postwire.io/x) makes it a post with a link.
imagesinteger
Images attached (X takes up to 4).
videoboolean
A video attached (one, on its own).
threadstring[]
The posts of a thread after text (repeat the parameter; POST takes a JSON array). The whole chain is priced.
replystring
A reply under the post (or under the thread), priced with it.
Response
{ credits, has_link, images, video, sentence } — e.g. sentence "This post uses 10 X credits: it contains a link." With thread or reply, the whole chain: also x_posts, with_link and posts: [{ n, role: main|thread|reply, credits, has_link }] — e.g. "This thread uses 13 X credits: 4 X posts, 1 with a link."
Changes
No recorded changes to this operation across all 1 revision of this API.