naïve
Back to Primitives

7 actions · from $0.00015 / call

X

Tool

Profiles and posts on X.

Part of Social media

Actions

Every action: POST /v1/tools/runs { "tool": "<name>", "input": { … } }

  • X

    Get profile

    x.profile

    Followers, bio, verified flag and the latest posts for one account.

    Parameters
    ParameterDescription
    username
    string · required
    Handle without the @.
    Example response
    {
      "object": "x.profile",
      "username": "naval",
      "followers": 12804113,
      "following": 81,
      "verified": true,
      "bio": "Exploring the universe and our home planet.",
      "posts": [
        {
          "id": "7312094",
          "views": 1840022,
          "likes": 211940,
          "posted_at": "2026-11-21"
        },
        {
          "id": "7311877",
          "views": 902114,
          "likes": 88012,
          "posted_at": "2026-11-19"
        }
      ]
    }
    $0.002 / call
  • X

    List posts

    x.posts

    Recent posts for an account, with views, likes, replies and reposts.

    Parameters
    ParameterDescription
    username
    string · required
    Handle without the @.
    Example response
    {
      "object": "list",
      "username": "naval",
      "data": [
        {
          "id": "7312094",
          "caption": "Artemis II, one year out",
          "views": 1840022,
          "comments": 4120
        },
        {
          "id": "7311877",
          "caption": "Saturn's rings, up close",
          "views": 902114,
          "comments": 1977
        }
      ],
      "next": "c_8f2a"
    }
    $0.00015 / call
  • X

    List X Community Posts

    x.list-x-community-posts

    Get posts from an X community, including authors, engagement and media.

    $0.00015 / call
  • X

    List X User Posts

    x.list-x-user-posts

    Get recent posts from an X user's timeline.

    $0.00015 / call
  • X

    Get X Community

    x.get-x-community

    Get X community details, including its creator, member count and rules.

    $0.00015 / call
  • X

    Get X Profile

    x.get-x-profile

    Get a public X profile, including its bio, follower counts and profile images.

    $0.00015 / call
  • X

    Get X Post

    x.get-x-post

    Get an X post with its text, author, engagement counts and media.

    $0.00015 / call

Pricing

from $0.00015 / call

Billed per call to one prepaid balance. No vendor accounts, no subscription.

Code

import { createNaive } from "@usenaive-sdk/naive"; const naive = createNaive(); // reads NAIVE_API_KEYconst run = await naive.tools.run("x.profile", {"username":"naval"}, { wait: true });console.log(run.output);

Related tools

  • Profiles, videos, comments, hashtags and trending sounds.

    from $0.00015
    per call
    176 actions
  • Profiles, posts, reels, comments and hashtags.

    from $0.00015
    per call
    69 actions
  • Channels, videos, transcripts and comments.

    from $0.00015
    per call
    59 actions