OpenAPI Specs
Download official OpenAPI specs for Twitter, Instagram, TikTok, LinkedIn, Facebook, YouTube, and more. Free OpenAPI 3.0 specifications for all major social media platform APIs.
Free, downloadable OpenAPI specifications for all major social media platforms. Use these specs to generate SDKs, build API clients, or explore API capabilities in tools like Swagger UI or Postman.
All specs are maintained in our public GitHub repository.
Platform API Specifications
Twitter / X API
OpenAPI spec for Twitter API v2 - tweets, users, spaces, lists, and more
Instagram Graph API
OpenAPI spec for Instagram Graph API - media, comments, insights, and stories
Facebook Graph API
OpenAPI spec for Facebook Graph API - pages, posts, comments, and ads
LinkedIn API
OpenAPI spec for LinkedIn Marketing & Community APIs - posts, organizations, and analytics
TikTok API
OpenAPI spec for TikTok Content Posting API - videos, sounds, and user info
YouTube Data API
OpenAPI spec for YouTube Data API v3 - videos, channels, playlists, and comments
Pinterest API
OpenAPI spec for Pinterest API v5 - pins, boards, and analytics
Reddit API
OpenAPI spec for Reddit API - posts, comments, subreddits, and users
Threads API
OpenAPI spec for Threads API - posts, replies, and user profiles
Bluesky API (AT Protocol)
OpenAPI spec for Bluesky AT Protocol - posts, follows, and feeds
Google Business Profile API
OpenAPI spec for Google Business Profile API - reviews, posts, and locations
Telegram Bot API
OpenAPI spec for Telegram Bot API - messages, updates, and inline queries
Snapchat Marketing API
OpenAPI spec for Snapchat Marketing API - ads, campaigns, and analytics
Direct Download Links
| Platform | Download | Size |
|---|---|---|
| Twitter / X | twitter.yaml | 478 KB |
| pinterest.yaml | 1.5 MB | |
| Telegram | telegram.yaml | 111 KB |
| YouTube | youtube.yaml | 96 KB |
| reddit.yaml | 71 KB | |
| Google Business | googlebusiness.yaml | 59 KB |
| linkedin.yaml | 54 KB | |
| Snapchat | snapchat.yaml | 51 KB |
| Threads | threads.yaml | 50 KB |
| Bluesky | bluesky.yaml | 45 KB |
| TikTok | tiktok.yaml | 43 KB |
| instagram.yaml | 39 KB | |
| facebook.yaml | 38 KB |
What is OpenAPI?
OpenAPI Specification (formerly Swagger) is a standard format for describing REST APIs. With an OpenAPI spec, you can:
- Generate SDKs in any programming language
- Import into Postman for instant API testing
- Use Swagger UI to explore and test endpoints interactively
- Generate documentation automatically
- Validate requests/responses in your applications
Using These Specs
Import into Postman
- Copy the raw URL for your platform (e.g.,
https://raw.githubusercontent.com/getlate-dev/openapi-specs/main/twitter.yaml) - Open Postman and go to File → Import
- Paste the URL or download and select the file
- Postman will create a collection with all endpoints
Generate an SDK
Use OpenAPI Generator to create client libraries:
# Download the spec
curl -O https://raw.githubusercontent.com/getlate-dev/openapi-specs/main/twitter.yaml
# Generate TypeScript SDK
openapi-generator-cli generate -i twitter.yaml -g typescript-fetch -o ./twitter-sdkView in Swagger UI
docker run -p 8080:8080 -e SWAGGER_JSON_URL=https://raw.githubusercontent.com/getlate-dev/openapi-specs/main/twitter.yaml swaggerapi/swagger-uiContributing
Found an issue or want to improve a spec? Contributions are welcome on GitHub.
One API for All Platforms
Instead of integrating with each platform separately, Late API provides a unified API that works across all 13+ social media platforms with a single integration.
- One authentication flow for all platforms
- Consistent data formats across platforms
- Single webhook for all platform events
- Unified rate limiting and error handling