What The LLM API
Welcome to the What The LLM API documentation. Our API allows developers and partners to integrate our AI content, tools, and services into their applications.The What The LLM API is currently in beta. Contact us at hello@myllm.news for access and partnership opportunities.
Overview
The What The LLM API provides programmatic access to:Content Access
Retrieve articles, tutorials, and magazine content
AI Tools
Access our curated AI tools and services
Community Data
Get community insights and engagement metrics
Learning Resources
Access our educational content and progress tracking
Getting Started
Authentication
All API requests require authentication using an API key:Base URL
Rate Limits
- Free tier: 100 requests per hour
- Subscriber tier: 1,000 requests per hour
- Partner tier: 10,000 requests per hour
Available Endpoints
Content Endpoints
GET /content/articles
GET /content/articles
Retrieve published articles and blog postsParameters:
limit: Number of articles to return (default: 10, max: 100)offset: Pagination offsetcategory: Filter by content categorydate_from: Filter articles from specific datedate_to: Filter articles to specific date
GET /content/magazines
GET /content/magazines
Access magazine issues and contentParameters:
issue: Specific issue numberyear: Filter by publication yearsubscriber_only: Include subscriber-only content (requires subscription)
GET /content/tutorials
GET /content/tutorials
Retrieve tutorial content and guidesParameters:
difficulty: Filter by difficulty level (beginner, intermediate, advanced)topic: Filter by AI topic or technologyformat: Content format (text, video, interactive)
AI Tools Endpoints
GET /tools
GET /tools
List available AI tools and servicesParameters:
category: Tool category (nlp, vision, audio, etc.)pricing: Filter by pricing model (free, paid, freemium)rating: Minimum rating threshold
GET /tools/{tool_id}
GET /tools/{tool_id}
Get detailed information about a specific AI toolResponse includes:
- Tool description and features
- Pricing information
- User ratings and reviews
- Integration examples
- Alternative tools
POST /tools/recommend
POST /tools/recommend
Get AI tool recommendations based on requirementsRequest body:
Community Endpoints
GET /community/stats
GET /community/stats
Get community engagement statisticsResponse includes:
- Total community members
- Active discussions
- Popular topics
- Engagement metrics
GET /community/discussions
GET /community/discussions
Retrieve community discussions and topicsParameters:
topic: Filter by discussion topicpopularity: Sort by engagement levelrecent: Show recent discussions only
Response Format
All API responses follow a consistent JSON format:Error Responses
Common Error Codes
Authentication Errors
Authentication Errors
INVALID_API_KEY: API key is invalid or expiredMISSING_API_KEY: No API key providedINSUFFICIENT_PERMISSIONS: API key lacks required permissions
Rate Limiting
Rate Limiting
RATE_LIMIT_EXCEEDED: Too many requests in time windowQUOTA_EXCEEDED: Monthly quota limit reached
Request Errors
Request Errors
INVALID_PARAMETERS: Request parameters are invalidRESOURCE_NOT_FOUND: Requested resource doesn’t existVALIDATION_ERROR: Request data failed validation
SDK and Libraries
Official SDKs
Python SDK
JavaScript SDK
Community Libraries
- PHP:
composer require myllm/api-client - Ruby:
gem install myllm-api - Go:
go get github.com/myllm/go-api
Example Usage
Python Example
JavaScript Example
Webhooks
Subscribe to real-time updates about new content and community activity:Available Events
content.published: New article or tutorial publishedmagazine.released: New magazine issue availabletool.added: New AI tool added to databasecommunity.milestone: Community reaches engagement milestone
Webhook Setup
Support and Resources
API Documentation
Detailed endpoint documentation and examples
Developer Community
Connect with other developers using our API
Status Page
Monitor API uptime and performance
Support
Get help from our technical support team
Getting API Access
Contact Us
Email hello@myllm.news to request API access
Ready to integrate What The LLM into your application? Contact us to get started with API access.