<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Handles API</title>
    <description>The latest articles on DEV Community by Handles API (@handlesapi).</description>
    <link>https://dev.to/handlesapi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4267774%2Fdf3e9165-2c7e-4f3a-a616-b18a23f8be38.png</url>
      <title>DEV Community: Handles API</title>
      <link>https://dev.to/handlesapi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/handlesapi"/>
    <language>en</language>
    <item>
      <title>YouTube Data API v3: API key, quota and pricing</title>
      <dc:creator>Handles API</dc:creator>
      <pubDate>Thu, 26 Nov 2026 22:39:05 +0000</pubDate>
      <link>https://dev.to/handlesapi/youtube-data-api-v3-api-key-quota-and-pricing-2ch7</link>
      <guid>https://dev.to/handlesapi/youtube-data-api-v3-api-key-quota-and-pricing-2ch7</guid>
      <description>&lt;p&gt;Getting a YouTube Data API key takes a few minutes, but the quota is what decides whether your project works at scale. This guide covers the key, the quota table (including the recent search.list change), what &lt;code&gt;subscriberCount&lt;/code&gt; actually returns, and when the official API is the right tool. To get a YouTube API key, create a project in the Google Cloud console, enable YouTube Data API v3 in the API Library, then create an API key on the Credentials page. The default quota is 10,000 units a day, and reading one channel costs 1 unit. Google lists no per-call price; the cost is the quota.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to get a YouTube API key
&lt;/h2&gt;

&lt;p&gt;You get a YouTube API key by creating a Google Cloud project, enabling YouTube Data API v3 in it and generating a key on the Credentials page. The steps below follow Google's &lt;a href="https://developers.google.com/youtube/v3/getting-started" rel="noopener noreferrer"&gt;getting started guide&lt;/a&gt; as of November 2026.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Open the Google Cloud console and create a project, or pick an existing one.&lt;/li&gt;
&lt;li&gt;Open the API Library, search for YouTube Data API v3 and enable it for the project.&lt;/li&gt;
&lt;li&gt;In the Credentials page, choose Create credentials, then API key. Copy the key.&lt;/li&gt;
&lt;li&gt;Send it as the &lt;code&gt;key&lt;/code&gt; query parameter on any request for public data, as in the request below.&lt;/li&gt;
&lt;li&gt;For methods that act for a signed-in user, create OAuth 2.0 credentials instead. A key alone cannot authorize them.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Treat the key as a server-side secret. Anyone who holds it spends your project's quota. This is Google's own request for a channel's statistics by handle:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Official YouTube Data API v3&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://www.googleapis.com/youtube/v3/channels?part=statistics&amp;amp;forHandle=@MrBeast&amp;amp;key=$YT_API_KEY"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  YouTube Data API quota
&lt;/h2&gt;

&lt;p&gt;Every Google Cloud project starts with a YouTube Data API quota of 10,000 units a day, and the counter resets at midnight Pacific time (&lt;a href="https://developers.google.com/youtube/v3/determine_quota_cost" rel="noopener noreferrer"&gt;quota cost table&lt;/a&gt;). Each method spends a fixed number of units per call.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source: Google, &lt;a href="https://developers.google.com/youtube/v3/determine_quota_cost" rel="noopener noreferrer"&gt;determine quota cost&lt;/a&gt; and the &lt;a href="https://developers.google.com/youtube/v3/docs/search/list" rel="noopener noreferrer"&gt;search.list reference&lt;/a&gt;, as of November 2026.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Units per call&lt;/th&gt;
&lt;th&gt;What it means in practice&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;channels.list&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Up to 10,000 single-channel reads a day at the default quota.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;videos.list&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Up to 10,000 video reads a day, shared with the same quota.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;search.list&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Own Search Queries bucket since 1 June 2026, capped at 100 calls a day.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Many guides still say a search costs 100 units. That changed. Since 1 June 2026, &lt;code&gt;search.list&lt;/code&gt; costs 1 unit but lives in a separate bucket limited to 100 calls a day, according to the method's revision history. For creator discovery or any search-driven tool, that cap binds first.&lt;/p&gt;

&lt;p&gt;A worked budget, as an illustration. Refreshing 5,000 channels once a day with &lt;code&gt;channels.list&lt;/code&gt; uses 5,000 units, half the default quota, and leaves 5,000 for video reads. A discovery job that runs 150 searches a day is over the search cap by itself, whatever is left of the 10,000 units.&lt;/p&gt;

&lt;p&gt;To raise the limit you apply for it. Google starts with a compliance review through the &lt;a href="https://developers.google.com/youtube/v3/guides/quota_and_compliance_audits" rel="noopener noreferrer"&gt;Audit and Quota Extension Form&lt;/a&gt;, so plan for a review step before launch if you expect volume.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is the YouTube Data API free?
&lt;/h2&gt;

&lt;p&gt;Google does not list a per-call price for the YouTube Data API; the cost is the quota. There is no meter to pay down, but once the daily units are spent, further calls are refused until the counter resets.&lt;/p&gt;

&lt;p&gt;That makes the real price a mix of engineering time and review time: a Cloud project to maintain, keys to rotate, quota to budget across jobs, and an audit if you outgrow the default. For one app reading a few thousand channels a day that is usually fine. For a pipeline that sweeps tens of thousands of channels, the unit budget and the search cap shape the architecture.&lt;/p&gt;

&lt;p&gt;Handles API meters in credits instead of quota units. A catalog read costs 1 credit and a live read costs 2 credits, and a failed call is not charged. The Free trial is 100 credits once, with no card. Details are in &lt;a href="https://handlesapi.com/docs/credits-and-limits" rel="noopener noreferrer"&gt;credits and limits&lt;/a&gt; and on the &lt;a href="https://handlesapi.com/pricing" rel="noopener noreferrer"&gt;pricing page&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What subscriberCount returns
&lt;/h2&gt;

&lt;p&gt;The YouTube Data API rounds &lt;code&gt;subscriberCount&lt;/code&gt; down to three significant figures, and a channel can hide the number entirely (&lt;a href="https://developers.google.com/youtube/v3/docs/channels" rel="noopener noreferrer"&gt;channels resource&lt;/a&gt;). A channel with 1,234,567 subscribers is therefore reported as 1,230,000. That is an illustration of the rule, not a real channel.&lt;/p&gt;

&lt;p&gt;When a channel hides its count, &lt;code&gt;hiddenSubscriberCount&lt;/code&gt; is true and the count is not available. Handles API serves the count YouTube publishes, so the same rounding applies and we do not model a more precise number. A hidden count comes back as &lt;code&gt;hidden_subs&lt;/code&gt; with no number, and we never estimate it.&lt;/p&gt;

&lt;p&gt;One more date to note: since 16 November 2026, co-views count toward public view counts, per the &lt;a href="https://developers.google.com/youtube/v3/revision_history" rel="noopener noreferrer"&gt;YouTube Data API revision history&lt;/a&gt;. If you store a view series yourself, mark that date so a step in the data is not read as organic growth.&lt;/p&gt;

&lt;p&gt;To look up one channel without writing code, try the free &lt;a href="https://handlesapi.com/tools/youtube-subscriber-count" rel="noopener noreferrer"&gt;YouTube subscriber count tool&lt;/a&gt;. To turn views into an earnings estimate, there is a &lt;a href="https://handlesapi.com/tools/youtube-money-calculator" rel="noopener noreferrer"&gt;YouTube money calculator&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  YouTube Data API vs Handles API
&lt;/h2&gt;

&lt;p&gt;Handles API reads public YouTube channel data from its own catalog of about 97K channels, over one REST key. The table compares it with the official API on what matters when you are choosing between them. It is an &lt;a href="https://handlesapi.com/youtube-api" rel="noopener noreferrer"&gt;independent service&lt;/a&gt;, not affiliated with Google or YouTube.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Official column from Google's YouTube Data API documentation, as of November 2026. Credit and plan figures from Handles API plans.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Area&lt;/th&gt;
&lt;th&gt;YouTube Data API v3&lt;/th&gt;
&lt;th&gt;Handles API&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Setup&lt;/td&gt;
&lt;td&gt;Google Cloud project, API enabled, API key. OAuth for user-authorized methods.&lt;/td&gt;
&lt;td&gt;One key from signup. No Cloud project.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Limits and cost&lt;/td&gt;
&lt;td&gt;10,000 quota units a day by default; search.list capped at 100 calls a day. No per-call price listed.&lt;/td&gt;
&lt;td&gt;Credits: 1 per catalog read, 2 per live read. Paid plans from $29 a month, a one-time 100 credit trial.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Subscriber count&lt;/td&gt;
&lt;td&gt;Rounded down to three significant figures.&lt;/td&gt;
&lt;td&gt;The count YouTube publishes, same rounding. Not estimated.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hidden subscribers&lt;/td&gt;
&lt;td&gt;hiddenSubscriberCount boolean.&lt;/td&gt;
&lt;td&gt;hidden_subs flag and no number.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Daily history&lt;/td&gt;
&lt;td&gt;Not offered for channels you do not own; you poll and store your own series.&lt;/td&gt;
&lt;td&gt;A daily series of lifetime views per channel, kept in the catalog.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Benchmark&lt;/td&gt;
&lt;td&gt;None.&lt;/td&gt;
&lt;td&gt;Views per day ranked against channels in the same subscriber band.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Uploads, comments, OAuth&lt;/td&gt;
&lt;td&gt;Yes.&lt;/td&gt;
&lt;td&gt;No. Read-only, public data.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Coverage&lt;/td&gt;
&lt;td&gt;Any public channel you can address.&lt;/td&gt;
&lt;td&gt;About 97K channels. Not every channel that exists.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This is a real catalog response for the same channel as the official request above, captured from the live API. Note the fields: counts, &lt;code&gt;hidden_subs&lt;/code&gt;, language, country and category.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://api.handlesapi.com/v1/directory/youtube/MrBeast"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $HANDLES_API_KEY"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"https://api.handlesapi.com/v1/directory/youtube/MrBeast"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;Authorization&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sb"&gt;`Bearer ${process.env.HANDLES_API_KEY}`&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;meta&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="s2"&gt;"https://api.handlesapi.com/v1/directory/youtube/MrBeast"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"Authorization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"Bearer {os.environ['HANDLES_API_KEY']}"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;body&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"platform"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"youtube"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"object"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"channel"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"record"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"channel_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"UCX6OQ3DkcsbYNE6H8uQQuVA"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"handle"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"mrbeast"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"title"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"MrBeast"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"subscriber_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;528000000&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"view_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;148301355934&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"video_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;990&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"hidden_subs"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"published_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2012-02-20 00:43:50+00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"language"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"en"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"country"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"US"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"category"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"gaming"&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"meta"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"catalog"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"request_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"req_e5a0fb8d990807fb"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"generated_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-26T13:54:53.792Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"took_ms"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;7&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Real response from the live API, captured Nov 26, 2026. 10 more record fields trimmed for space. Long strings and arrays are shortened.&lt;/p&gt;

&lt;h3&gt;
  
  
  Benchmark a channel without storing history
&lt;/h3&gt;

&lt;p&gt;The benchmark endpoint, &lt;a href="https://handlesapi.com/docs/reference/insights-youtube-benchmark" rel="noopener noreferrer"&gt;&lt;code&gt;GET /v1/insights/youtube/{handle}/benchmark&lt;/code&gt;&lt;/a&gt;, ranks a channel's views per day against channels in the same subscriber band. With the official API you would have to snapshot lifetime views for the channel and for its peers every day to answer the same question.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Request (curl)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://api.handlesapi.com/v1/insights/youtube/MrBeast/benchmark"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $HANDLES_API_KEY"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Request (Node)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"https://api.handlesapi.com/v1/insights/youtube/MrBeast/benchmark"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;Authorization&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sb"&gt;`Bearer ${process.env.HANDLES_API_KEY}`&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;meta&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Request (Python)&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="s2"&gt;"https://api.handlesapi.com/v1/insights/youtube/MrBeast/benchmark"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"Authorization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"Bearer {os.environ['HANDLES_API_KEY']}"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;body&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a first batch of 1,000 catalog reads, plan costs work out like this.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Plan price divided by included credits. A catalog read costs 1 credit, a live read 2 credits. The Free trial is 100 credits once, no card.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Plan&lt;/th&gt;
&lt;th&gt;Monthly price&lt;/th&gt;
&lt;th&gt;Credits&lt;/th&gt;
&lt;th&gt;1,000 catalog reads&lt;/th&gt;
&lt;th&gt;1,000 live reads&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Starter&lt;/td&gt;
&lt;td&gt;$29&lt;/td&gt;
&lt;td&gt;15,000&lt;/td&gt;
&lt;td&gt;$1.93&lt;/td&gt;
&lt;td&gt;$3.87&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Pro&lt;/td&gt;
&lt;td&gt;$99&lt;/td&gt;
&lt;td&gt;75,000&lt;/td&gt;
&lt;td&gt;$1.32&lt;/td&gt;
&lt;td&gt;$2.64&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Business&lt;/td&gt;
&lt;td&gt;$299&lt;/td&gt;
&lt;td&gt;300,000&lt;/td&gt;
&lt;td&gt;$1.00&lt;/td&gt;
&lt;td&gt;$1.99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Scale&lt;/td&gt;
&lt;td&gt;$799&lt;/td&gt;
&lt;td&gt;1,200,000&lt;/td&gt;
&lt;td&gt;$0.67&lt;/td&gt;
&lt;td&gt;$1.33&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Rate limits work per minute rather than per day. The Free plan allows 10 requests a minute, and paid plans run from 120 to 1,200 a minute. Pagination on list endpoints uses a cursor you follow until it is null, described in &lt;a href="https://handlesapi.com/docs/pagination" rel="noopener noreferrer"&gt;pagination&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  When to use the official YouTube Data API
&lt;/h2&gt;

&lt;p&gt;Use the official YouTube Data API whenever you need more than public channel numbers. It is the right tool for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Uploading and managing videos, playlists and comments.&lt;/li&gt;
&lt;li&gt;Reading data from channels that authorize your app through OAuth.&lt;/li&gt;
&lt;li&gt;Any public channel, including ones outside our catalog.&lt;/li&gt;
&lt;li&gt;Products that must source data from Google directly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Know the limits of a catalog before you rely on it. Records are as fresh as the last crawl, and each carries a &lt;code&gt;last_seen&lt;/code&gt; timestamp so you can check. Private data, writes and channels that are not in the catalog are out of reach, and the Free trial of 100 credits is a good way to test coverage on your own list of channels first.&lt;/p&gt;

&lt;p&gt;Use a data API when the job is reading public stats for many channels, ranking them or tracking them over time, and you would rather budget credits than quota units. Nothing stops you from using both: the official API for writes and owner data, Handles API for read-heavy stats.&lt;/p&gt;

&lt;p&gt;The same question comes up on other platforms. See the &lt;a href="https://handlesapi.com/compare/instagram-graph-api" rel="noopener noreferrer"&gt;Instagram Graph API comparison&lt;/a&gt; and the &lt;a href="https://handlesapi.com/compare/tiktok-research-api" rel="noopener noreferrer"&gt;TikTok Research API comparison&lt;/a&gt;. For the wider picture of collecting public social data, including the rules, read &lt;a href="https://handlesapi.com/guides/social-media-scraping" rel="noopener noreferrer"&gt;social media scraping: methods and limits&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How do I get a YouTube API key?
&lt;/h3&gt;

&lt;p&gt;Create a project in the Google Cloud console, enable YouTube Data API v3 from the API Library, then open the Credentials page and choose Create credentials and API key. Send the key as the key parameter on requests for public data. Methods that act for a signed-in user need OAuth 2.0 instead.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is the YouTube Data API quota?
&lt;/h3&gt;

&lt;p&gt;The default quota is 10,000 units per day for each project, reset at midnight Pacific time. Reading a channel with channels.list costs 1 unit and so does videos.list. Since June 2026, search.list has its own bucket: 1 unit per call, capped at 100 calls a day.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is the YouTube Data API free?
&lt;/h3&gt;

&lt;p&gt;Google does not list a per-call price for the YouTube Data API. The cost is the quota: once the daily units are used, further calls are refused until the reset. A higher limit is not bought, it is requested through a compliance audit using the Audit and Quota Extension Form.&lt;/p&gt;

&lt;h3&gt;
  
  
  How much quota does a YouTube search use now?
&lt;/h3&gt;

&lt;p&gt;As of November 2026, one search.list call costs 1 unit, not the 100 units older guides quote. The catch is that searches count against a separate Search Queries bucket that allows 100 calls per day, so search-heavy tools hit that cap long before the 10,000 unit quota.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why is a YouTube subscriber count rounded?
&lt;/h3&gt;

&lt;p&gt;The YouTube Data API returns subscriberCount rounded down to three significant figures, so 1,234,567 subscribers is reported as 1,230,000. Channels can also hide the number, in which case hiddenSubscriberCount is true. Views are not rounded, which makes them the better series to track over time.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I read YouTube channel data without a Google Cloud project?
&lt;/h3&gt;

&lt;p&gt;Yes, with a data API that serves public channel records from its own catalog. Handles API needs only its own key and a credit balance, with no quota units to manage. It is read-only and covers about 97K channels, so uploads, comments and OAuth data still need the official API.&lt;/p&gt;




&lt;p&gt;Originally published at &lt;a href="https://handlesapi.com/compare/youtube-data-api" rel="noopener noreferrer"&gt;handlesapi.com/compare/youtube-data-api&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>api</category>
      <category>webdev</category>
      <category>youtube</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>X API pricing in 2026: what the Twitter API costs</title>
      <dc:creator>Handles API</dc:creator>
      <pubDate>Thu, 26 Nov 2026 22:38:52 +0000</pubDate>
      <link>https://dev.to/handlesapi/x-api-pricing-in-2026-what-the-twitter-api-costs-2jkf</link>
      <guid>https://dev.to/handlesapi/x-api-pricing-in-2026-what-the-twitter-api-costs-2jkf</guid>
      <description>&lt;p&gt;If you are about to build on X data, the first question is what the bill looks like. This is a breakdown of the official X API's pay-per-use prices as of November 2026, what is still free, the rate limits, and what 1,000 or 100,000 profile lookups cost. The X API now charges per use: $0.005 per post read and $0.010 per user read, against a prepaid balance with no subscription. That makes 1,000 post reads $5 and 1,000 profile lookups $10. As of November 2026 there is no documented free tier for new accounts, only credit that arrives when you add a card.&lt;/p&gt;

&lt;h2&gt;
  
  
  Official X API prices per read and per write
&lt;/h2&gt;

&lt;p&gt;The X API charges per resource on a prepaid balance, and the pricing page states that it "uses pay-per-usage pricing with no subscriptions". You register an app in the developer console at console.x.com, load credit, and every post, user or message that a request returns or creates is metered. The table below lists the unit prices from the &lt;a href="https://docs.x.com/x-api/getting-started/pricing" rel="noopener noreferrer"&gt;X pricing page&lt;/a&gt; as of November 2026.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source: &lt;a href="https://docs.x.com/x-api/getting-started/pricing" rel="noopener noreferrer"&gt;docs.x.com pricing&lt;/a&gt;, as of November 2026. Owned Reads have applied since 20 April 2026.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Read action&lt;/th&gt;
&lt;th&gt;Price per resource&lt;/th&gt;
&lt;th&gt;Per 1,000&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Read a post&lt;/td&gt;
&lt;td&gt;$0.005&lt;/td&gt;
&lt;td&gt;$5.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Read a user profile&lt;/td&gt;
&lt;td&gt;$0.010&lt;/td&gt;
&lt;td&gt;$10.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Read followers or following (per user returned)&lt;/td&gt;
&lt;td&gt;$0.010&lt;/td&gt;
&lt;td&gt;$10.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Read a direct message event&lt;/td&gt;
&lt;td&gt;$0.010&lt;/td&gt;
&lt;td&gt;$10.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Read a list, space, community or note&lt;/td&gt;
&lt;td&gt;$0.005&lt;/td&gt;
&lt;td&gt;$5.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Like, mute or block&lt;/td&gt;
&lt;td&gt;$0.001&lt;/td&gt;
&lt;td&gt;$1.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Owned Reads (your own account data)&lt;/td&gt;
&lt;td&gt;$0.001&lt;/td&gt;
&lt;td&gt;$1.00&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Source: &lt;a href="https://docs.x.com/x-api/getting-started/pricing" rel="noopener noreferrer"&gt;docs.x.com pricing&lt;/a&gt;, as of November 2026.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Write action&lt;/th&gt;
&lt;th&gt;Price per request&lt;/th&gt;
&lt;th&gt;Per 1,000&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Create a post&lt;/td&gt;
&lt;td&gt;$0.015&lt;/td&gt;
&lt;td&gt;$15.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Create a post that contains a URL&lt;/td&gt;
&lt;td&gt;$0.200&lt;/td&gt;
&lt;td&gt;$200.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Send a direct message&lt;/td&gt;
&lt;td&gt;$0.015&lt;/td&gt;
&lt;td&gt;$15.00&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The same resource is billed once per 24 hour UTC window, which X calls a soft guarantee. When your spend limit is reached, requests are blocked until the next period, so set the limit before you ship a polling job.&lt;/p&gt;

&lt;h2&gt;
  
  
  Is the X API free?
&lt;/h2&gt;

&lt;p&gt;There is no documented free tier for new X API sign-ups as of November 2026. The pricing page describes pay-per-use only, and nothing there promises a monthly allowance of free reads.&lt;/p&gt;

&lt;p&gt;Two credits exist around the edges, both recorded in the &lt;a href="https://docs.x.com/changelog" rel="noopener noreferrer"&gt;X changelog&lt;/a&gt;. Former Free users received a one-time $10 voucher in February 2026. Pay-per-use accounts that save a card receive $20 in free credit, plus matching on the first automatic top-up up to $50, and those credits expire after three months. Treat both as a trial, not a free plan.&lt;/p&gt;

&lt;p&gt;To see what a trial buys, divide it by the unit price. $20 of credit covers 4,000 post reads or 2,000 user reads, and the $10 voucher covers half of that. That is enough to build and test an integration, and not enough to run one.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 3 million post cap and Enterprise
&lt;/h2&gt;

&lt;p&gt;Pay-per-use reads are capped at 3 million posts per month. Beyond that the X API points you to Enterprise, and the pricing page does not publish an Enterprise price, so you need a sales conversation to learn it.&lt;/p&gt;

&lt;p&gt;For most developers the cap does not bind. At $0.005 per post, 3 million reads is $15,000 of spend in one month, a volume at which a negotiated contract is the normal route anyway. The legacy Basic and Pro subscriptions are being retired in favor of pay-per-use.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example monthly bills at the list prices, assuming every resource is new within its 24 hour window.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Reads per month&lt;/th&gt;
&lt;th&gt;Post reads at $0.005&lt;/th&gt;
&lt;th&gt;User reads at $0.010&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;10,000&lt;/td&gt;
&lt;td&gt;$50.00&lt;/td&gt;
&lt;td&gt;$100.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;100,000&lt;/td&gt;
&lt;td&gt;$500.00&lt;/td&gt;
&lt;td&gt;$1,000.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1,000,000&lt;/td&gt;
&lt;td&gt;$5,000.00&lt;/td&gt;
&lt;td&gt;$10,000.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3,000,000&lt;/td&gt;
&lt;td&gt;$15,000.00&lt;/td&gt;
&lt;td&gt;$30,000.00&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  X API rate limits
&lt;/h2&gt;

&lt;p&gt;X rate limits are set per endpoint and counted in 15 minute windows, separately for app-level and user-level authentication. The figures below come from the &lt;a href="https://docs.x.com/x-api/fundamentals/rate-limits" rel="noopener noreferrer"&gt;X rate limit documentation&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Source: &lt;a href="https://docs.x.com/x-api/fundamentals/rate-limits" rel="noopener noreferrer"&gt;docs.x.com rate limits&lt;/a&gt;, as of November 2026.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Official endpoint&lt;/th&gt;
&lt;th&gt;Per app, 15 min&lt;/th&gt;
&lt;th&gt;Per user, 15 min&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;GET /2/users/by/username/:username&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;300&lt;/td&gt;
&lt;td&gt;900&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;GET /2/tweets/search/recent&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;450&lt;/td&gt;
&lt;td&gt;300&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;On Handles API the limit is one number per plan, counted per minute across your keys, and the free trial allows 10 requests a minute. Starter allows 120, Pro allows 300, Business allows 600, Scale allows 1,200. Live calls also draw on a separate live allowance, described in &lt;a href="https://handlesapi.com/docs/credits-and-limits" rel="noopener noreferrer"&gt;credits and limits&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The window matters for bulk work. At 300 username lookups per 15 minutes, one app can make 28,800 lookups a day, so 100,000 profile lookups need at least 3.5 days of app-level quota, whatever you are willing to pay. Check the limit for each endpoint you plan to call before you size a job, because the figures differ by endpoint and by authentication type.&lt;/p&gt;

&lt;h2&gt;
  
  
  What 1,000 and 100,000 profile lookups cost
&lt;/h2&gt;

&lt;p&gt;On the official API, 1,000 profile lookups cost $10.00 and 100,000 cost $1,000.00, because a user read is $0.010. The official request for one profile is below.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Official X API v2&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://api.x.com/2/users/by/username/nasa?user.fields=public_metrics"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $X_BEARER_TOKEN"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  1,000 lookups on Handles API
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Plan price divided by included credits. A catalog read costs 1 credit, a live read 2 credits. The Free trial is 100 credits once, no card.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Plan&lt;/th&gt;
&lt;th&gt;Monthly price&lt;/th&gt;
&lt;th&gt;Credits&lt;/th&gt;
&lt;th&gt;1,000 catalog reads&lt;/th&gt;
&lt;th&gt;1,000 live reads&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Starter&lt;/td&gt;
&lt;td&gt;$29&lt;/td&gt;
&lt;td&gt;15,000&lt;/td&gt;
&lt;td&gt;$1.93&lt;/td&gt;
&lt;td&gt;$3.87&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Pro&lt;/td&gt;
&lt;td&gt;$99&lt;/td&gt;
&lt;td&gt;75,000&lt;/td&gt;
&lt;td&gt;$1.32&lt;/td&gt;
&lt;td&gt;$2.64&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Business&lt;/td&gt;
&lt;td&gt;$299&lt;/td&gt;
&lt;td&gt;300,000&lt;/td&gt;
&lt;td&gt;$1.00&lt;/td&gt;
&lt;td&gt;$1.99&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Scale&lt;/td&gt;
&lt;td&gt;$799&lt;/td&gt;
&lt;td&gt;1,200,000&lt;/td&gt;
&lt;td&gt;$0.67&lt;/td&gt;
&lt;td&gt;$1.33&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  100,000 lookups on Handles API
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Plan price divided by included credits. A catalog read costs 1 credit, a live read 2 credits. The Free trial is 100 credits once, no card.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Plan&lt;/th&gt;
&lt;th&gt;Monthly price&lt;/th&gt;
&lt;th&gt;Credits&lt;/th&gt;
&lt;th&gt;100,000 catalog reads&lt;/th&gt;
&lt;th&gt;100,000 live reads&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Starter&lt;/td&gt;
&lt;td&gt;$29&lt;/td&gt;
&lt;td&gt;15,000&lt;/td&gt;
&lt;td&gt;$193.33&lt;/td&gt;
&lt;td&gt;$386.67&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Pro&lt;/td&gt;
&lt;td&gt;$99&lt;/td&gt;
&lt;td&gt;75,000&lt;/td&gt;
&lt;td&gt;$132.00&lt;/td&gt;
&lt;td&gt;$264.00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Business&lt;/td&gt;
&lt;td&gt;$299&lt;/td&gt;
&lt;td&gt;300,000&lt;/td&gt;
&lt;td&gt;$99.67&lt;/td&gt;
&lt;td&gt;$199.33&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Handles API Scale&lt;/td&gt;
&lt;td&gt;$799&lt;/td&gt;
&lt;td&gt;1,200,000&lt;/td&gt;
&lt;td&gt;$66.58&lt;/td&gt;
&lt;td&gt;$133.17&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Those figures are the plan price divided by included credits, so a plan only fits if it holds the credits. 100,000 catalog reads need 100,000 credits, which Business and Scale include. 100,000 live reads need 200,000, which Business and Scale include.&lt;/p&gt;

&lt;p&gt;The comparison is not like for like. A catalog read comes from a database that updates daily, while an official user read returns current data. The live read is the closer match: it costs 2 credits, or $3.87 per 1,000 on Starter down to $1.33 on Scale, before you compare it with the official $10.00.&lt;/p&gt;

&lt;h2&gt;
  
  
  A real catalog lookup and a real live lookup
&lt;/h2&gt;

&lt;p&gt;A catalog profile lookup is one GET to &lt;code&gt;/v1/directory/x/{handle}&lt;/code&gt; and returns followers, posts, verification and a growth figure in milliseconds. The response below is captured from the live API.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://api.handlesapi.com/v1/directory/x/nasa"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $HANDLES_API_KEY"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"https://api.handlesapi.com/v1/directory/x/nasa"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;Authorization&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sb"&gt;`Bearer ${process.env.HANDLES_API_KEY}`&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;meta&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="s2"&gt;"https://api.handlesapi.com/v1/directory/x/nasa"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"Authorization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"Bearer {os.environ['HANDLES_API_KEY']}"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;body&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"platform"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"x"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"object"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"account"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"record"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"user_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"11348282"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"username"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"NASA"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"NASA"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"followers_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;92086821&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"following_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;115&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"statuses_count"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;74588&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"is_blue_verified"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"verified_type"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Government"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"account_created_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2007-12-19 20:20:32+00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"category"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"science"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"tier"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"S"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"weekly_growth"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;-124137&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"meta"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"catalog"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"request_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"req_f6d829b59d0d8864"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"generated_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-26T13:54:37.167Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"took_ms"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;56&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Real response from the live API, captured Nov 26, 2026. 16 more record fields trimmed for space. Long strings and arrays are shortened.&lt;/p&gt;

&lt;p&gt;A live lookup reads X at request time through &lt;code&gt;/v1/scrape/x/user&lt;/code&gt;. It took about 16 seconds in this capture, so use a 30 second timeout and retry on 503.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://api.handlesapi.com/v1/scrape/x/user?handle=nasa"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $HANDLES_API_KEY"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nb"&gt;fetch&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"https://api.handlesapi.com/v1/scrape/x/user?handle=nasa"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;Authorization&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sb"&gt;`Bearer ${process.env.HANDLES_API_KEY}`&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;meta&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;os&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;

&lt;span class="n"&gt;res&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;requests&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="s2"&gt;"https://api.handlesapi.com/v1/scrape/x/user?handle=nasa"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;headers&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"Authorization"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"Bearer {os.environ['HANDLES_API_KEY']}"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;body&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;res&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"user_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"11348282"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"handle"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"NASA"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"display_name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"NASA"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"bio"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Making the seemingly impossible, possible. ✨"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"followers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;92086892&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"following"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;115&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"tweets"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;74588&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"is_verified"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"avatar_url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"header_url"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"https://pbs.twimg.com/profile_banners/11348282/1788992290/1500x500"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"account_age_days"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;6916&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"created_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2007-12-19T20:20:32+00:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"xlookup"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"meta"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"source"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"live:xlookup"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"request_id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"req_291e7c0c9acec8a4"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"generated_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-26T13:54:53.466Z"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"took_ms"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;16240&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Real response from the live API, captured Nov 26, 2026. Long strings and arrays are shortened.&lt;/p&gt;

&lt;p&gt;The full endpoint is documented at &lt;a href="https://handlesapi.com/docs/reference/scrape-x-user" rel="noopener noreferrer"&gt;GET /v1/scrape/x/user&lt;/a&gt;. The &lt;a href="https://handlesapi.com/twitter-api" rel="noopener noreferrer"&gt;X API page&lt;/a&gt; lists every X endpoint with its credit cost.&lt;/p&gt;

&lt;h2&gt;
  
  
  When you should use the official X API instead
&lt;/h2&gt;

&lt;p&gt;Choose the official X API whenever the job is to act on X, not read it. We are an independent, read-only service of public data, with no link to X Corp.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Posting, replying, liking or following. Creating a post costs $0.015 on the official API; we cannot write at all.&lt;/li&gt;
&lt;li&gt;Direct messages. Reading or sending them needs the official API; a direct message read costs $0.010 and a send costs $0.015.&lt;/li&gt;
&lt;li&gt;Anything done on behalf of a user, such as an app where people sign in with X.&lt;/li&gt;
&lt;li&gt;Reading your own data. Owned Reads cost $0.001 each, cheaper than any read we sell, and cover your own account data.&lt;/li&gt;
&lt;li&gt;A direct agreement with the platform. If your legal team needs one, the official route is the only way to get it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;A rule of thumb, not a ranking. Price the volume on both before you decide.&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;If you need to&lt;/th&gt;
&lt;th&gt;Use&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Post, reply, like, follow or send a message&lt;/td&gt;
&lt;td&gt;Official X API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Act for a user who signs in with X&lt;/td&gt;
&lt;td&gt;Official X API&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Read your own account data&lt;/td&gt;
&lt;td&gt;Official X API, Owned Reads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Read public profiles in bulk, current or daily&lt;/td&gt;
&lt;td&gt;Handles API, catalog or live&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Watch public posts for a keyword or mention&lt;/td&gt;
&lt;td&gt;Handles API live search, or official search&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Use a data API when the work is reading public profiles and posts at volume: enrichment, monitoring, research. For monitoring, see &lt;a href="https://handlesapi.com/use-cases/social-listening" rel="noopener noreferrer"&gt;social listening on X&lt;/a&gt;. For the do-it-yourself route and its failure modes, read the &lt;a href="https://handlesapi.com/guides/twitter-scraper" rel="noopener noreferrer"&gt;Twitter scraper guide&lt;/a&gt;, and for the wider picture &lt;a href="https://handlesapi.com/guides/social-media-scraping" rel="noopener noreferrer"&gt;social media scraping&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to keep an X API bill small
&lt;/h2&gt;

&lt;p&gt;The biggest lever on a pay-per-use bill is how often you read the same thing. Four habits keep spend predictable:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Set the spend limit in the console before the first deploy. Requests stop at the limit, which is better than a surprise invoice.&lt;/li&gt;
&lt;li&gt;Cache results. The same resource is billed once per 24 hour UTC window on the official API, and a cache extends that to as long as your data can stay stale.&lt;/li&gt;
&lt;li&gt;Match freshness to the question. A follower count that moves a little each day does not need a live read every hour, and a daily catalog series answers it at 1 credit.&lt;/li&gt;
&lt;li&gt;Estimate before you build. Multiply reads per day by the unit price and by 30, and compare it with the plan table above.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Check before you spend
&lt;/h2&gt;

&lt;p&gt;Estimate your volume first: reads per day, how many are repeats within 24 hours, and whether you need current or daily data. The &lt;a href="https://handlesapi.com/pricing" rel="noopener noreferrer"&gt;pricing page&lt;/a&gt; lists every plan, and the free trial gives 100 credits once with no card, enough for 50 live reads.&lt;/p&gt;

&lt;p&gt;For a one-off check on a single handle, the free &lt;a href="https://handlesapi.com/tools/twitter-shadowban-checker" rel="noopener noreferrer"&gt;Twitter shadowban checker&lt;/a&gt; is a tool we run, so you do not need to write any code.&lt;/p&gt;

&lt;h2&gt;
  
  
  Frequently asked questions
&lt;/h2&gt;

&lt;h3&gt;
  
  
  How much does the X API cost in 2026?
&lt;/h3&gt;

&lt;p&gt;The X API is pay-per-use on a prepaid balance, with no subscription. As of November 2026 a post read costs $0.005 and a user read costs $0.010, which is $5 and $10 per 1,000. Writing costs more: $0.015 per post, and $0.20 for a post that contains a URL. Above 3 million post reads a month you move to Enterprise.&lt;/p&gt;

&lt;h3&gt;
  
  
  Is the X API free?
&lt;/h3&gt;

&lt;p&gt;There is no documented free tier for new sign-ups. Adding a card to a pay-per-use account grants $20 in credit, and former Free users received a one-time $10 voucher. After that every read is billed. Owned Reads, which return your own account data, cost $0.001 each, the cheapest rate on the price list.&lt;/p&gt;

&lt;h3&gt;
  
  
  How much does it cost to read 1,000 tweets?
&lt;/h3&gt;

&lt;p&gt;On the official X API, reading 1,000 posts costs $5 and 1,000 user profiles cost $10, as of November 2026. A resource is billed once per 24 hour UTC window, so fetching the same post twice in a day is charged once. Searching is billed per post returned, not per request.&lt;/p&gt;

&lt;h3&gt;
  
  
  What are the X API rate limits?
&lt;/h3&gt;

&lt;p&gt;Rate limits are set per endpoint and counted in 15 minute windows. The username lookup allows 300 requests per window for an app and 900 per user. Recent search allows 450 for an app and 300 per user. Hitting a limit is separate from hitting your spend limit, which blocks requests until the next period.&lt;/p&gt;

&lt;h3&gt;
  
  
  What happened to the Basic and Pro plans?
&lt;/h3&gt;

&lt;p&gt;X says the legacy Basic and Pro subscriptions are being retired in favor of pay-per-use pricing. New developers start on the prepaid credit model and pay per resource read or written. Check the X pricing page for the current state before you budget around a legacy plan.&lt;/p&gt;

&lt;h3&gt;
  
  
  Can I get X data without the official X API?
&lt;/h3&gt;

&lt;p&gt;Yes, for public data and read-only work. Handles API serves X profiles from a catalog at 1 credit per read, and live X reads such as timelines and search at 2 credits. Live X endpoints need a key with the scrape:live scope, which is not granted by default. Posting, direct messages and acting for a user still need the official API.&lt;/p&gt;




&lt;p&gt;Originally published at &lt;a href="https://handlesapi.com/guides/x-api-pricing" rel="noopener noreferrer"&gt;handlesapi.com/guides/x-api-pricing&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>api</category>
      <category>webdev</category>
      <category>twitter</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
