API Reference
This document provides detailed information on how to interact with the Truth Satellite API, including authentication, available endpoints, request parameters, and response formats.
Base URL
The API is hosted at: https://truthsatellite.space/api
All requests must be sent over HTTPS.
Authentication
The API requires authentication via API Keys, OAuth2, or JWT Tokens.
1. API Key Authentication
Pass your API key in the Authorization
header:
2. OAuth2 Authentication
For enterprise integrations, OAuth2 is available.
Step 1: Get Access Token
Step 2: Use Access Token
3. JWT Token Authentication
Clients can authenticate using JSON Web Tokens (JWT):
More on Security & Authentication
Rate Limits
To prevent abuse, API requests are rate-limited:
Free
10
1,000
Pro
100
50,000
Enterprise
Unlimited
Unlimited
For increased limits, upgrade your plan at https://truthsatellite.space
API Endpoints
1. Fetch Intelligence Reports
**GET **/facts
Retrieves classified intelligence reports.
Request Parameters
category
string
No
“finance”, “geopolitics”, “technology”
limit
int
No
Number of results (default: 10)
timestamp
string
No
Retrieve data from a specific date
Example Response
2. Query Historical Data
GET /historical
Access past intelligence reports.
Example Request
Example Response
3. Webhooks & AI Alerts
POST /alerts
Allows AI agents to subscribe to intelligence updates.
Request Body
Example Response
More on Webhooks
Error Codes & Handling
400
Bad Request
Check request parameters.
401
Unauthorized
Invalid or missing API key.
403
Forbidden
You don’t have access to this resource.
429
Too Many Requests
Rate limit exceeded. Wait or upgrade plan.
500
Internal Server Error
Try again later.
Example Integrations
Python Client
JavaScript Client
Changelog
✔ Version 1.3.2 (Current) – Expanded AI support, enhanced security features.
✔ Version 1.2.0 – Added historical intelligence archive.
✔ Version 1.0.0 – Initial API release.
Last updated