Endpoint Playground
Test Crawlora's Foreign Affairs article API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/foreignaffairs/article?url=<url>" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| url | string | Yes | Canonical Foreign Affairs article URL |
{
"code": 200,
"msg": "OK",
"data": {
"url": "https://www.foreignaffairs.com/united-states/americas-attrition-trap",
"title": "America's Attrition Trap",
"description": "A representative article description.",
"published_at": "2026-09-18T10:00:00Z",
"updated_at": "2026-09-18T12:00:00Z",
"authors": [
"Example Author"
],
"categories": [
"United States"
],
"image_url": "https://cdn.example.com/article.jpg",
"is_gated": true,
"paragraphs": [
"The opening paragraph.",
"The next paragraph."
]
}
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Returns public article metadata and ordered body paragraphs from a canonical Foreign Affairs article URL. Incomplete, truncated, challenge, or contaminated upstream HTML is rejected as an upstream error.
{
"code": 200,
"msg": "OK",
"data": {
"url": "https://www.foreignaffairs.com/united-states/americas-attrition-trap",
"title": "America's Attrition Trap",
"description": "A representative article description.",
"published_at": "2026-09-18T10:00:00Z",
"updated_at": "2026-09-18T12:00:00Z",
"authors": [
"Example Author"
],
"categories": [
"United States"
],
"image_url": "https://cdn.example.com/article.jpg",
"is_gated": true,
"paragraphs": [
"The opening paragraph.",
"The next paragraph."
]
}
}curl "https://api.crawlora.net/api/v1/foreignaffairs/article?url=<url>" \
-H "x-api-key: $CRAWLORA_API_KEY"