Loading...
Loading...
Integrate Parse's media analysis capabilities into your applications. Build tools that detect manipulation, quantify credibility, and expose bias.
The Parse API provides programmatic access to our multi-agent media analysis system. Analyze articles for credibility, detect manipulation techniques, fact-check claims, and generate bias-free rewrites.
Base URL: https://api.parsethe.media/api/v1
All API requests require authentication using a Bearer token. Include your API key in the Authorization header.
Authorization: Bearer YOUR_API_KEYAPI keys are available to Max tier subscribers. Contact support@parsethe.media to upgrade.
Here's a simple example to get you started with article analysis:
curl -X POST https://api.parsethe.media/api/v1/article/quick \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/article"}'const response = await fetch('https://api.parsethe.media/api/v1/article/quick', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
url: 'https://example.com/article'
})
});
const result = await response.json();
console.log('Credibility Score:', result.credibilityScore);Full and quick analysis of articles
/api/v1/article/analyzeInitiates a comprehensive multi-agent analysis of an article. This is the full analysis that runs all agents including extraction, fact-checking, bias detection, deception analysis, steel-man construction, and more. Returns a job ID for polling.
article_analyze{
"url": "https://example.com/article-about-climate-change"
}{
"jobId": "job_1234567890abcdef",
"status": "pending",
"statusUrl": "https://api.parsethe.media/api/v1/jobs/job_1234567890abcdef",
"estimatedCompletion": "30s"
}INSUFFICIENT_CREDITSNot enough credits (requires 3)INVALID_URLURL is invalid or unreachableRATE_LIMITEDToo many requests/api/v1/article/quickReturns a quick credibility score for an article without running the full multi-agent analysis. Uses heuristics and cached data when available. Synchronous response.
article_analyze{
"url": "https://example.com/article-about-climate-change"
}{
"url": "https://example.com/article-about-climate-change",
"credibilityScore": 72,
"confidence": "medium",
"indicators": {
"sourceReliability": "high",
"sentimentBalance": "skewed_negative",
"citationDensity": "low"
}
}INSUFFICIENT_CREDITSNot enough credits (requires 1)INVALID_URLURL is invalid or unreachable/api/v1/article/rewriteGenerates a bias-free rewrite of the article content, removing loaded language while preserving factual information. Synchronous response.
article_rewrite{
"url": "https://example.com/article-about-climate-change",
"tone": "neutral",
"preserveQuotes": true
}{
"originalUrl": "https://example.com/article-about-climate-change",
"rewrite": {
"title": "Climate Scientists Release New Report on Temperature Trends",
"content": "According to the latest research...",
"keyChanges": [
"Removed sensationalist headline",
"Balanced attribution of sources"
]
},
"credibilityScore": 85
}INSUFFICIENT_CREDITSNot enough credits (requires 1)INVALID_URLURL is invalid or unreachable| Code | Status | Description | Retryable |
|---|---|---|---|
INSUFFICIENT_CREDITS | 402 | Purchase more credits to continue | No |
INVALID_URL | 400 | Check URL format and accessibility | No |
RATE_LIMITED | 429 | Exponential backoff recommended | Yes |
UNAUTHORIZED | 401 | Check API key or session | No |
TIER_REQUIRED | 403 | Upgrade subscription tier | No |
JOB_NOT_FOUND | 404 | Verify job ID | No |
ANALYSIS_FAILED | 500 | Transient error, may retry | Yes |
Rate limits vary by endpoint. Limits are enforced per API key and reset every minute.
| Endpoint | Limit | Window |
|---|---|---|
POST /article/analyze | 10 | 1m |
POST /article/quick | 60 | 1m |
POST /article/rewrite | 30 | 1m |
POST /agents/extract | 60 | 1m |
POST /agents/fact-check | 30 | 1m |
POST /agents/bernays | 60 | 1m |
POST /agents/deception | 60 | 1m |
POST /agents/steel-man | 60 | 1m |