LiquidVision.app Sentiment API

The Sentiment API from LiquidVision.app — 13 operation(s) for sentiment.

GitHub OpenAPI

Operations 13

GET /api/v1/social/x Crypto Twitter (X) pulse next to funding and positioning #
GET /api/v1/social/x/search Search X (Twitter) tweets with advanced operators #
GET /api/v1/social/x/user/{username} Social X User #
GET /api/v1/social/x/user/{username}/tweets Social X User Tweets #
GET /api/v1/social/x/user/{username}/mentions Social X User Mentions #
GET /api/v1/social/x/tweet/{tweet_id} Social X Tweet #
GET /api/v1/sentiment/fear-greed Crypto fear and greed index from derivatives positioning #
GET /api/v1/sentiment/twitter Crypto Twitter sentiment for a coin #
GET /api/v1/social/x/profile Social X User (argument as a query parameter) #
GET /api/v1/social/x/timeline Social X User Tweets (argument as a query parameter) #
GET /api/v1/social/x/mentions Social X User Mentions (argument as a query parameter) #
GET /api/v1/social/x/tweet Social X Tweet (argument as a query parameter) #

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/liquidvision-app:liquidvision-app-sentiment-api"
All apis
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.

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. 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 Specification

liquidvision-app-sentiment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LiquidVision.app Sentiment API
  description: 'Crypto derivatives data and answers for AI agents from 13 venues (positions are measured on Hyperliquid and Lighter; the CEX liquidation map is a model): smart money and top traders on Hyperliquid, trader wallet profiles, a derivatives fear & greed index, crypto Twitter sentiment, Polymarket odds next to the market, a Morpho DeFi liquidation map, liquidation prices, trading-rule backtests, and open interest, funding and liquidation history. Conclusions and live snapshots are free; answers are paid per call with x402 (USDC on Base or Arbitrum), MPP (USDC.e on Tempo), Nevermined, Skyfire or a prepaid key. Terms: /api/v1/x402'
  version: 1.0.0
  x-guidance: 'Crypto derivatives data for agents. Free: GET /api/v1/answer?q=...&coin=BTC (one question, one call), /api/v1/liqlevels/{SYMBOL}, /api/v1/funding, /api/v1/brief/{SYMBOL}. Paid per call (GET, no body): /api/v1/liqmap/{SYMBOL} (the full liquidation map), /api/v1/sentiment/fear-greed?coin=market, /api/v1/hl/smart-money?coin=BTC, /api/v1/hl/top-traders, /api/v1/hl/trader/{address}, /api/v1/social/x?coin=SOL, /api/v1/predictions/crypto?coin=BTC, /api/v1/defi/liquidations?chain=base, /api/v1/position/check?symbol=BTC&side=long&entry=..&leverage=.., /api/v1/rules/test?rules=funding_apr_pct>10&symbol=BTC. Pay with x402 (USDC on Base or Arbitrum), MPP (tempo, USDC.e) or a prepaid key; every answer states its source and sample size. Guide: /llms.txt'
  contact:
    name: LiquidVision.app
    url: https://liquidvision.app
    email: dychapaev@gmail.com
tags:
- name: Sentiment
paths:
  /api/v1/social/x:
    get:
      summary: Crypto Twitter (X) pulse next to funding and positioning
      description: 'Crypto Twitter pulse for one coin: the latest English posts on X (replies, retweets,

        spam and tiny accounts dropped), a lexicon sentiment lean weighted by engagement and reach,

        posts per hour, the top posts, and next to them the coin''s funding, open interest change

        and long/short positioning, with one sentence on whether they agree. Cached 10 minutes.

        Always paid per call: $0.02 (x402, MPP, Skyfire, Nevermined or prepaid credits, 4 of them); no key''s daily allowance covers it.'
      operationId: social_x_api_v1_social_x_get
      parameters:
      - name: coin
        in: query
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9]{2,15}$
          description: base asset, e.g. BTC, SOL, HYPE
          title: Coin
        description: base asset, e.g. BTC, SOL, HYPE
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Social X Api V1 Social X Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.02'
  /api/v1/social/x/search:
    get:
      summary: Search X (Twitter) tweets with advanced operators
      description: 'Raw X (Twitter) search: one page of up to ~20 posts for an advanced-search query, with

        text, time, author (username, followers, verified), likes, retweets, replies, quotes, views

        and `next_cursor` for the following page. Cached 2 minutes. Always paid per call: $0.005 a page

        (x402, MPP, Skyfire, Nevermined or prepaid credits, 1 of them); no key''s daily allowance covers it.'
      operationId: social_x_search_api_v1_social_x_search_get
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
          minLength: 2
          maxLength: 300
          description: 'X advanced-search query: keywords, $cashtags, #hashtags, from:user, since:2026-11-01, lang:en, min_faves:50, -filter:replies ...'
          title: Q
        description: 'X advanced-search query: keywords, $cashtags, #hashtags, from:user, since:2026-11-01, lang:en, min_faves:50, -filter:replies ...'
      - name: type
        in: query
        required: false
        schema:
          type: string
          pattern: ^(Latest|Top)$
          description: Latest (newest first) or Top
          default: Latest
          title: Type
        description: Latest (newest first) or Top
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 400
          description: next_cursor of the previous page
          default: ''
          title: Cursor
        description: next_cursor of the previous page
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Social X Search Api V1 Social X Search Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
  /api/v1/social/x/user/{username}:
    get:
      summary: Social X User
      description: 'An X (Twitter) account by username: followers, following, bio, post count, verification,

        account age, pinned tweets. Any account. Always paid per call: $0.005 (x402, MPP, Skyfire,

        Nevermined or 1 prepaid credit); no key''s daily allowance covers it. Cached 10 minutes.'
      operationId: social_x_user_api_v1_social_x_user__username__get
      parameters:
      - name: username
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9_]{1,15}$
          title: Username
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Social X User Api V1 Social X User  Username  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
  /api/v1/social/x/user/{username}/tweets:
    get:
      summary: Social X User Tweets
      description: 'The latest posts of an X (Twitter) account, newest first, up to 20 a page with text, time

        and metrics, and `next_cursor` for the following page. Always paid per call: $0.005 a page.'
      operationId: social_x_user_tweets_api_v1_social_x_user__username__tweets_get
      parameters:
      - name: username
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9_]{1,15}$
          title: Username
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 400
          default: ''
          title: Cursor
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Social X User Tweets Api V1 Social X User  Username  Tweets Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
  /api/v1/social/x/user/{username}/mentions:
    get:
      summary: Social X User Mentions
      description: 'Posts that mention an X (Twitter) account, newest first, up to 20 a page with author and

        metrics, and `next_cursor`. Always paid per call: $0.005 a page.'
      operationId: social_x_user_mentions_api_v1_social_x_user__username__mentions_get
      parameters:
      - name: username
        in: path
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9_]{1,15}$
          title: Username
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 400
          default: ''
          title: Cursor
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Social X User Mentions Api V1 Social X User  Username  Mentions Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
  /api/v1/social/x/tweet/{tweet_id}:
    get:
      summary: Social X Tweet
      description: 'One X (Twitter) post by ID with its text, author and metrics, plus one page of up to 20

        replies and `next_cursor` for more (pages after the first carry replies only). Use the ID of

        the original post: a retweet has no replies of its own. A deleted or private post answers 404

        and is not charged. Always paid per call: $0.005.'
      operationId: social_x_tweet_api_v1_social_x_tweet__tweet_id__get
      parameters:
      - name: tweet_id
        in: path
        required: true
        schema:
          type: string
          pattern: ^[0-9]{5,25}$
          title: Tweet Id
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 400
          default: ''
          title: Cursor
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Social X Tweet Api V1 Social X Tweet  Tweet Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
  /api/v1/social/x/trends:
    get:
      summary: Social X Trends
      description: 'Trending topics on X (Twitter) right now for a location, with rank, name and the search

        query of each trend. Always paid per call: $0.005. Cached 5 minutes.'
      operationId: social_x_trends_api_v1_social_x_trends_get
      parameters:
      - name: woeid
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          description: 1 = worldwide; a country or city WOEID
          default: 1
          title: Woeid
        description: 1 = worldwide; a country or city WOEID
      - name: count
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 5
          default: 30
          title: Count
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Social X Trends Api V1 Social X Trends Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
  /api/v1/sentiment/fear-greed:
    get:
      summary: Crypto fear and greed index from derivatives positioning
      description: 'Derivatives fear & greed, 0 extreme fear .. 100 extreme greed: funding, long/short

        accounts, open interest change, 7-day momentum (each the percentile of its current value in

        the coin''s own hourly archive) and the share of 24h liquidations that hit shorts. Positioning,

        not news. Cached 10 minutes. Priced: $0.005 (x402), 1 credit, or a key''s quota.'
      operationId: sentiment_fear_greed_api_v1_sentiment_fear_greed_get
      parameters:
      - name: coin
        in: query
        required: false
        schema:
          type: string
          pattern: ^[A-Za-z0-9]{2,15}$
          description: BTC, ETH, SOL ... or market (the mean of BTC, ETH and SOL)
          default: market
          title: Coin
        description: BTC, ETH, SOL ... or market (the mean of BTC, ETH and SOL)
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Sentiment Fear Greed Api V1 Sentiment Fear Greed Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
  /api/v1/sentiment/twitter:
    get:
      summary: Crypto Twitter sentiment for a coin
      description: 'Crypto Twitter sentiment for a coin: the same answer as /social/x under the name agents

        search for. Priced: $0.02 (x402), 4 credits, or a key''s quota.'
      operationId: sentiment_twitter_api_v1_sentiment_twitter_get
      parameters:
      - name: coin
        in: query
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9]{2,15}$
          description: base asset, e.g. BTC, SOL, HYPE
          title: Coin
        description: base asset, e.g. BTC, SOL, HYPE
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Sentiment Twitter Api V1 Sentiment Twitter Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.02'
  /api/v1/social/x/profile:
    get:
      summary: Social X User (argument as a query parameter)
      description: 'Same answer and price as GET /api/v1/social/x/user/{username}, with `username` as a query parameter for clients that do not fill URL templates.


        An X (Twitter) account by username: followers, following, bio, post count, verification,

        account age, pinned tweets. Any account. Always paid per call: $0.005 (x402, MPP, Skyfire,

        Nevermined or 1 prepaid credit); no key''s daily allowance covers it. Cached 10 minutes.'
      operationId: social_x_user_api_v1_social_x_user__username__get_by_query
      parameters:
      - name: username
        in: query
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9_]{1,15}$
          title: Username
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Social X User Api V1 Social X User  Username  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
  /api/v1/social/x/timeline:
    get:
      summary: Social X User Tweets (argument as a query parameter)
      description: 'Same answer and price as GET /api/v1/social/x/user/{username}/tweets, with `username` as a query parameter for clients that do not fill URL templates.


        The latest posts of an X (Twitter) account, newest first, up to 20 a page with text, time

        and metrics, and `next_cursor` for the following page. Always paid per call: $0.005 a page.'
      operationId: social_x_user_tweets_api_v1_social_x_user__username__tweets_get_by_query
      parameters:
      - name: username
        in: query
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9_]{1,15}$
          title: Username
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 400
          default: ''
          title: Cursor
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Social X User Tweets Api V1 Social X User  Username  Tweets Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
  /api/v1/social/x/mentions:
    get:
      summary: Social X User Mentions (argument as a query parameter)
      description: 'Same answer and price as GET /api/v1/social/x/user/{username}/mentions, with `username` as a query parameter for clients that do not fill URL templates.


        Posts that mention an X (Twitter) account, newest first, up to 20 a page with author and

        metrics, and `next_cursor`. Always paid per call: $0.005 a page.'
      operationId: social_x_user_mentions_api_v1_social_x_user__username__mentions_get_by_query
      parameters:
      - name: username
        in: query
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9_]{1,15}$
          title: Username
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 400
          default: ''
          title: Cursor
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Social X User Mentions Api V1 Social X User  Username  Mentions Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
  /api/v1/social/x/tweet:
    get:
      summary: Social X Tweet (argument as a query parameter)
      description: 'Same answer and price as GET /api/v1/social/x/tweet/{tweet_id}, with `tweet_id` as a query parameter for clients that do not fill URL templates.


        One X (Twitter) post by ID with its text, author and metrics, plus one page of up to 20

        replies and `next_cursor` for more (pages after the first carry replies only). Use the ID of

        the original post: a retweet has no replies of its own. A deleted or private post answers 404

        and is not charged. Always paid per call: $0.005.'
      operationId: social_x_tweet_api_v1_social_x_tweet__tweet_id__get_by_query
      parameters:
      - name: tweet_id
        in: query
        required: true
        schema:
          type: string
          pattern: ^[0-9]{5,25}$
          title: Tweet Id
      - name: cursor
        in: query
        required: false
        schema:
          type: string
          maxLength: 400
          default: ''
          title: Cursor
      - name: kyapay-token
        in: header
        required: false
        schema:
          type: string
        description: 'Skyfire KYAPay `pay` or `kya-pay` token minted for seller service cef65f7a-c281-4094-880d-509d42ba5b25; it alone unlocks this call and is charged the call''s price after a 2xx answer. Alternatives: an x402 payment header or X-API-Key.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Social X Tweet Api V1 Social X Tweet  Tweet Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '402':
          description: 'Payment required: x402 challenge in the body (v1) and the PAYMENT-REQUIRED header (v2); USDC on Base or Arbitrum'
      tags:
      - Sentiment
      x-payment-info:
        protocols:
        - x402: {}
        - mpp:
            method: tempo
            intent: charge
            currency: '0x20C000000000000000000000b9537d11c60E8b50'
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer
x-discovery:
  ownershipProofs: []