---
title: "Extract a Foreign Affairs article"
method: GET
path: "/foreignaffairs/article"
tags: ["ForeignAffairs"]
---

# Extract a Foreign Affairs article

`GET /foreignaffairs/article`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/foreignaffairs/article`
- Auth: API key in header `x-api-key`

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.

## Query parameters

- `url` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- ForeignaffairsArticleResponseDoc
  - `code` integer
  - `data` ForeignaffairsArticleResponse
    - `authors` string[]
    - `categories` string[]
    - `description` string
    - `image_url` string
    - `is_gated` boolean
    - `paragraphs` string[]
    - `published_at` string
    - `title` string
    - `updated_at` string
    - `url` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
