public apis
/
CategoriesMCPBlogRandomStar
Public APIs

A searchable directory of 2,000+ free public APIs, curated by the community and maintained with APILayer.

Powered byAPILayer

Popular

  • Weather APIs
  • Finance APIs
  • Crypto APIs
  • Geocoding APIs
  • Machine learning APIs
  • Games APIs

Directory

  • Categories
  • All APIs
  • MCP servers
  • FAQ
  • Stats
  • JSON API
  • llms.txt

APILayer

  • Browse the API suite ↗
  • Get a free API key ↗
  • APILayer blog ↗
  • Postman collection ↗
  • Discord community ↗

Project

  • public-apis on GitHub ↗
  • Contribute an API ↗
Public APIs · by APILayerData from public-apis (MIT)
  1. Home
  2. /Social
  3. /Twitter
Social
Twitter logo

Twitter

Read and write Twitter data.

Twitter API is a free Social API that requires OAuth authentication, is served over HTTPS and does not support CORS, so it should be called from a server.

Authentication
OAuth
HTTPS
Yes
CORS
No
Category
Social
Visit documentation ↗developer.twitter.com

About X Developer Platform

Build, analyze, and innovate with X's real-time global data. Access posts, users, trends, and more through modern APIs with flexible pay-per-usage pricing.

Provider
X Developer Platform
Website
developer.twitter.com ↗

Details from developer.twitter.com.

APILayer

Unified API suite · now live

Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.

Get your free API key→Free tier on every API

Twitter API alternatives

Twitch logo

Twitch

Game Streaming API

OAuthHTTPSCORS ?
TwitterAPIs logo

TwitterAPIs

Twitter / X data API: search, profiles, timelines, followers, DMs, write actions

apiKeyHTTPSCORS ?
TweetAPI logo

TweetAPI

Public Twitter data for posts, profiles, followers, search, lists and communities

apiKeyHTTPSNo CORS
TwittrAPI logo

TwittrAPI

Public Twitter/X data: profiles, tweets, replies, search, followers, lists, communities, trends

apiKeyHTTPSCORS
Tumblr logo

Tumblr

Read and write Tumblr Data

OAuthHTTPSCORS ?
vk logo

vk

Read and write vk data

OAuthHTTPSCORS ?

Twitter API FAQ

Who provides the Twitter API?

The Twitter API is provided by X Developer Platform (developer.twitter.com). Build, analyze, and innovate with X's real-time global data. Access posts, users, trends, and more through modern APIs with flexible pay-per-usage pricing.

Is the Twitter API free?

Yes. The Twitter API is listed in the Social category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.

Does the Twitter API require an API key?

Yes. The Twitter API uses OAuth authentication, so you need to register for credentials before making requests.

Can I call the Twitter API from the browser?

Not directly. The Twitter API does not allow CORS, so call it from a server, serverless function or proxy instead of front-end JavaScript.

Does the Twitter API support HTTPS?

Yes. The Twitter API is served over HTTPS, so it's safe to use in production.