{"operation":"profiles/get","version":"1.1.0","status":"pilot","title":"Get a profile","summary":"A profile on X (Twitter) by its handle: its name, bio, links, follower and tweet counts, verification, affiliation and images, read with your connected X account.","use_when":"You want who an account on X is and how big: pass its handle (nasa, @nasa) or its profile's address. One call, one profile. A protected profile is given as any other (`is_protected`): only its posts are kept from those who do not follow it. It needs one of your X accounts connected (POST /v2/accounts), and X counts each account's requests: about 150 profiles for 15 minutes. For what the account posts, use x/tweets/list with the same handle.","categories":["Social media","Lead generation"],"icon":"person","source":"x","input":{"type":"object","required":["profile"],"additionalProperties":false,"properties":{"profile":{"type":"string","minLength":1,"maxLength":200,"description":"The profile: its handle, with or without the @ (nasa, @nasa), or its address on x.com (https://x.com/nasa). Not its display name.","examples":["nasa","@nasa","https://x.com/nasa"]},"account":{"type":"string","description":"The connected X account to read with (GET /v2/accounts). Left out, the platform takes the first of your X accounts with a free slot.","examples":["acc_7Hq2Kd9mX4pL"]}}},"requires":{"account":"x"},"limits":{"per_account":{"calls":1,"per_s":2,"jitter_s":[0,2]},"when_busy":{"error":"account_rate_limited","retry_after":true}},"record":{"type":"object","additionalProperties":false,"required":["object","id","handle","name","url","description","description_language","description_urls","location","website_url","created_at","follower_count","following_count","tweet_count","media_count","like_count","is_blue_verified","is_verified","verified_type","is_protected","is_possibly_sensitive","professional","avatar_url","banner_url","avatar_shape","pinned_tweet_ids","affiliation","is_identity_verified","verified_since","verification_reason","affiliate_count","parody_label","interstitial","highlighted_tweet_count","subscription_count","has_hidden_subscriptions","is_subscribable","birthdate","observed_at"],"properties":{"object":{"const":"profile"},"id":{"type":"string","description":"The account's id: it stays when the handle changes."},"handle":{"type":["string","null"],"description":"Its @handle, without the @, in the case the account wrote it."},"name":{"type":["string","null"],"description":"The display name."},"url":{"type":["string","null"],"format":"uri","description":"The profile's page."},"description":{"type":["string","null"],"description":"The bio, as X gives it: its links are t.co addresses."},"description_language":{"type":["string","null"],"description":"The bio's language, as X detects it."},"description_urls":{"type":"array","items":{"type":["string","null"]},"description":"The links of the bio","in full.":null},"location":{"type":["string","null"],"description":"As the account wrote it."},"website_url":{"type":["string","null"],"description":"The profile's link, in full."},"created_at":{"type":["string","null"],"format":"date-time","description":"When the account joined X."},"follower_count":{"type":["integer","null"]},"following_count":{"type":["integer","null"]},"tweet_count":{"type":["integer","null"],"description":"Its posts, reposts and replies."},"media_count":{"type":["integer","null"],"description":"Its tweets with a photo or a video."},"like_count":{"type":["integer","null"],"description":"The tweets the account liked."},"is_blue_verified":{"type":["boolean","null"],"description":"The check mark next to the name, whatever its colour."},"is_verified":{"type":["boolean","null"],"description":"X's earlier verification."},"verified_type":{"type":["string","null"],"description":"business (gold check) or government (grey check), when X says so."},"is_protected":{"type":["boolean","null"],"description":"Whether only its followers see its posts."},"is_possibly_sensitive":{"type":["boolean","null"]},"professional":{"type":["object","null"],"description":"The professional profile the account declared; null when it declared none.","additionalProperties":false,"required":["type","categories"],"properties":{"type":{"type":["string","null"],"description":"business or creator."},"categories":{"type":"array","items":{"type":["string","null"]},"description":"As X names them (Media Personality)."}}},"avatar_url":{"type":["string","null"]},"banner_url":{"type":["string","null"]},"avatar_shape":{"type":["string","null"],"description":"circle, square (organizations), hexagon."},"pinned_tweet_ids":{"type":"array","items":{"type":"string"},"description":"The tweet pinned at the top of its posts."},"is_identity_verified":{"type":["boolean","null"],"description":"Whether X checked an identity document."},"verified_since":{"type":["string","null"],"format":"date-time","description":"Since when it is verified; null when it is not, or when X writes a date outside the calendar."},"verification_reason":{"type":["string","null"],"description":"Why it is verified, in X's words, as the page writes it under the check mark."},"affiliation":{"type":["object","null"],"description":"The label the account carries next to its name: the organization whose badge it has, or X's own word on it (Automated); null without one.","additionalProperties":false,"required":["name","url","badge_url","type","detail","account"],"properties":{"name":{"type":["string","null"],"description":"The organization's name on the badge."},"url":{"type":["string","null"],"description":"The organization's profile, as X links it."},"badge_url":{"type":["string","null"],"description":"The badge's image."},"type":{"type":["string","null"],"description":"business_label for an organization's badge, automated_label for an account X labels as automated."},"detail":{"type":["string","null"],"description":"The label's own sentence when it has one: Automated by @marc_krenn."},"account":{"type":["object","null"],"description":"The account the label's sentence names (who runs an automated account); null without one.","additionalProperties":false,"required":["id","handle"],"properties":{"id":{"type":"string"},"handle":{"type":["string","null"]}}}}},"affiliate_count":{"type":["integer","null"],"description":"For an organization, the accounts affiliated to it; null for others."},"parody_label":{"type":["string","null"],"description":"parody, commentary or fan, when the account carries that label."},"interstitial":{"type":["string","null"],"description":"The warning X puts before the profile, when any."},"highlighted_tweet_count":{"type":["integer","null"],"description":"The tweets of its Highlights tab."},"subscription_count":{"type":["integer","null"],"description":"The creators the account subscribes to."},"has_hidden_subscriptions":{"type":["boolean","null"],"description":"Whether it hides them on its profile."},"is_subscribable":{"type":["boolean","null"],"description":"Whether the account sells subscriptions."},"birthdate":{"type":["object","null"],"description":"The birth date the profile shows; null when it shows none.","additionalProperties":false,"required":["day","month","year"],"properties":{"day":{"type":["integer","null"]},"month":{"type":["integer","null"]},"year":{"type":["integer","null"],"description":"Null when the profile hides the year."}}},"observed_at":{"type":"string","format":"date-time","description":"When we read it."}}},"price":{"credits_per_call":1,"description":"1 credit per call that returns the profile. A failed call (no such profile, a suspended one) and a busy account are free.","free":["failed","account_rate_limited"]},"deadline":{"default_s":30,"max_s":60},"errors":[{"code":"invalid_profile","status":422,"detail":true,"message":"Pass a profile's handle (nasa, @nasa) or its address (https://x.com/nasa)."},{"code":"profile_not_found","status":404,"message":"X has no profile with this handle (not charged)."},{"code":"profile_unavailable","status":404,"message":"X does not show this profile, suspended or withheld (not charged)."},{"code":"account_required","status":422,"message":"You have no connected X account. Connect one with POST /v2/accounts {\"site\": \"x\", \"cookies\": ...}: the cookies of a browser where you are logged in to x.com (https://docs.lobstr.io/accounts)."},{"code":"account_rate_limited","status":429,"retryable":true,"detail":true,"message":"This X account cannot read a profile right now: it pauses a couple of seconds between two profiles, and X counts each account's requests (about 150 profiles for 15 minutes). `retry_after` says when it can again, in seconds. Retrying before then gets this same answer: nothing is queued."},{"code":"account_unusable","status":409,"message":"X logged this account out, or locked it. Open x.com in the browser the account comes from, then connect it again with POST /v2/accounts and fresh cookies (the same account keeps its id)."},{"code":"site_unavailable","status":503,"retryable":true,"message":"X did not answer properly; retry later (not charged)."},{"code":"unexpected_answer","status":424,"retryable":false,"message":"X answered in a shape we do not read yet; we are told and fix it (not charged)."}],"examples":[{"request":{"profile":"nasa"},"records":[{"object":"profile","id":"11348282","handle":"NASA","name":"NASA","url":"https://x.com/NASA","description":"Making the seemingly impossible, possible. ✨","description_language":"en","description_urls":[],"location":"Pale Blue Dot","website_url":"http://www.nasa.gov/","created_at":"2007-12-19T20:20:32Z","follower_count":92233097,"following_count":115,"tweet_count":74544,"media_count":28250,"like_count":17111,"is_blue_verified":true,"is_verified":false,"verified_type":"government","is_protected":false,"is_possibly_sensitive":false,"professional":null,"avatar_url":"https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg","banner_url":"https://pbs.twimg.com/profile_banners/11348282/1788992290","avatar_shape":"square","pinned_tweet_ids":[],"affiliation":null,"is_identity_verified":false,"verified_since":"2009-08-07T19:53:50Z","verification_reason":"This account is verified because it is a government or multilateral organization account.  Learn more","affiliate_count":85,"parody_label":null,"interstitial":null,"highlighted_tweet_count":292,"subscription_count":0,"has_hidden_subscriptions":false,"is_subscribable":false,"birthdate":{"day":1,"month":10,"year":1958},"observed_at":"2026-11-17T15:00:00Z"}]}],"health":{"every_h":3,"canaries":[{"profile":"nasa","account":"monitoring","min_records":1},{"profile":"https://x.com/EmmanuelMacron","account":"monitoring","min_records":1}],"required_fields":["id","handle","name","created_at","follower_count","tweet_count","avatar_url"]},"changelog":[{"version":"1.1.0","date":"2026-11-20","notes":"Two new fields in the account's `affiliation`: `detail`, the label's own sentence (Automated by @x), and `account`, the account that sentence names."},{"version":"1.0.0","date":"2026-11-17","notes":"First version on the API v2, in place of the v1 Twitter Profile Scraper: a profile by its handle or its address, with its counts, verification, affiliation, professional profile and images, read with your own connected X account."}],"object":"operation","id":"x/profiles/get","site":{"title":"X (Twitter)","domain":"x.com","color":"#C9D3DE"}}