# /amnesty/news/search

`POST /api/amnesty/news/search`

Price: 20 credits

Search Amnesty International news and press releases by keyword, country, topic, type and date

## How to use it

Values inside one filter are combined with OR and different filters with AND. Each result already carries the full text.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `keyword` (string, nullable) — Free-text search over title and text (examples: "death penalty", "sudan"; minLength: 1)
- `countries` (array, nullable) — Keep items tagged with any of these countries or regions (one of: "Afghanistan", "Africa", "Albania", "Algeria", "Americas", "Andorra", "Angola", "Antigua and Barbuda", "Aotearoa New Zealand", "Argentina", "Armenia", "Asia and the Pacific", "Australia", "Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus", "Belgium", "Belize", "Benin", "Bhutan", "Bolivia", "Bosnia and Herzegovina", "Botswana", "Brazil", "Brunei Darussalam", "Bulgaria", "Burkina Faso", "Burundi", "Cabo Verde", "Cambodia", "Cameroon", "Canada", "Central African Republic", "Central America and the Caribbean", "Chad", "Chile", "China", "Colombia", "Comoros", "Congo", "Cook Islands", "Costa Rica", "Cote d'Ivoire", "Croatia", "Cuba", "Cyprus", "Czech Republic", "Democratic Republic", "Democratic Republic of the Congo", "Denmark", "Djibouti", "Dominica", "Dominican Republic", "drc", "East Africa, the Horn and Great Lakes", "East Asia", "Eastern Europe and Central Asia", "Ecuador", "Egypt", "El Salvador", "Equatorial Guinea", "Eritrea", "Estonia", "Eswatini", "Ethiopia", "Europe and Central Asia", "Fiji", "Finland", "France", "Gabon", "Gambia", "Georgia", "Germany", "Ghana", "Greece", "Grenada", "Guatemala", "Guinea", "Guinea-Bissau", "Guyana", "Haiti", "Honduras", "Hong Kong (China)", "Hungary", "Iceland", "India", "Indonesia", "Iran", "Iraq", "Ireland", "Israel and the Occupied Palestinian Territory", "Italy", "Jamaica", "Japan", "Jordan", "Kazakhstan", "Kenya", "Kiribati", "Kosovo", "Kuwait", "Kyrgyzstan", "Laos", "Latvia", "Lebanon", "Lesotho", "Liberia", "Libya", "Liechtenstein", "Lithuania", "Luxembourg", "Madagascar", "Malawi", "Malaysia", "Maldives", "Mali", "Malta", "Marshall Islands", "Mauritania", "Mauritius", "Mexico", "Micronesia", "Middle East", "Middle East and North Africa", "Moldova", "Monaco", "Mongolia", "Montenegro", "Morocco and Western Sahara", "Mozambique", "Myanmar", "Namibia", "Nauru", "Nepal", "Netherlands", "Nicaragua", "Niger", "Nigeria", "Niue", "North Africa", "North America", "North Korea", "North Macedonia", "Norway", "Oman", "Pakistan", "Palau", "Palestine (State of)", "Panama", "Papua New Guinea", "Paraguay", "Peru", "Philippines", "Poland", "Portugal", "Puerto Rico", "Qatar", "Romania", "Russia", "Rwanda", "Saint Kitts and Nevis", "Saint Lucia", "Saint Vincent and the Grenadines", "Samoa", "San Marino", "Sao Tome and Principe", "Saudi Arabia", "Senegal", "Serbia", "Seychelles", "Sierra Leone", "Singapore", "Slovakia", "Slovenia", "Solomon Islands", "Somalia", "South Africa", "South America", "South Asia", "South Korea", "South Sudan", "South-East Asia and the Pacific", "Southern Africa", "Spain", "Sri Lanka", "Sudan", "Suriname", "Sweden", "Switzerland", "Syria", "Taiwan", "Tajikistan", "Tanzania", "Thailand", "Timor-Leste", "Togo", "Tonga", "Trinidad and Tobago", "Tunisia", "Turkmenistan", "Tuvalu", "Türkiye", "Uganda", "Ukraine", "United Arab Emirates", "United Kingdom", "United States of America", "Uruguay", "Uzbekistan", "Vanuatu", "Vatican City", "Venezuela", "Viet Nam", "West and Central Africa", "Western, Central and South-Eastern Europe", "Yemen", "Zambia", "Zimbabwe")
- `topics` (array, nullable) — Keep items tagged with any of these topics (one of: "Armed Conflict", "Armed Groups", "Arms Trade", "Asylum", "Business and Human Rights", "Censorship and Freedom of Expression", "Child Labour", "Child Soldiers", "Children", "Climate change", "Corporal Punishment", "Corporate Accountability", "COVID-19", "Death in Custody", "Death Penalty", "Detention", "Disappearances", "Discrimination", "Domestic Violence", "Drugs and Human Rights", "Economic, Social and Cultural Rights", "EU", "Exploitation of Natural Resources", "Freedom of Association", "Freedom of Movement", "Honour Crimes", "Human Rights Defenders and Activists", "Impunity", "Indigenous People", "Internally Displaced People", "International Justice", "International Organizations", "Internet and Social Media", "Justice Systems", "Killings and Disappearances", "LGBTI Rights", "Maternal Health and Reproductive Rights", "Migrants", "Older People", "Penal Institutions", "People Trafficking", "Persons with Disabilities", "Poverty", "Press Freedom", "Prisoners of Conscience", "Protests and Demonstrations", "Racial Discrimination", "Refugees", "Religious Groups", "Right to Education", "Right to Food", "Right to Health", "Right to Water", "Sexual Rights", "Sexual Violence", "Slums and the Right to Housing", "Social Security", "Strategic Litigation", "Taxation and Human Rights", "Technology and Human Rights", "Terrorism", "Torture and other ill-treatment", "Trade", "UN", "UN Convention Against Torture", "UN Convention on the Rights of the Child", "Unfair Trials", "Unlawful Detention", "Unlawful Killings", "War Crimes and Crimes Against Humanity", "Women and Girls", "Women's Rights", "Youth and Human Rights")
- `resource_types` (array, nullable) — Keep items of any of these resource types (one of: "Action", "Annual Report", "Blog Post", "Campaign", "Governance", "Litigation Submission", "Newsletter", "Open Letter", "Position", "Press Release", "Public Statement", "Questions and Answers", "Report", "Research Briefing", "Story", "Urgent Action")
- `published_after` (string, nullable) — Keep items published on or after this date (format: date; examples: "2026-01-01")
- `published_before` (string, nullable) — Keep items published before this date (format: date; examples: "2010-01-01")
- `sort` (string) — Result order (default: "newest"; one of: "newest", "oldest", "relevance", "recently_updated")
- `offset` (integer) — Number of matching items to skip (default: 0; min: 0)
- `count` (integer, required) — Max number of articles to return (min: 1; max: 1000)

## Response

### 200 — Successful Response

- `@type` (string) (default: "AmnestyPost")
- `id` (string, required)
- `alias` (string, nullable)
- `url` (string, nullable)
- `excerpt` (string, nullable)
- `summary` (string, nullable)
- `text` (string, nullable)
- `figures` (array) (default: [])
  - `@type` (string) (default: "AmnestyFigure")
  - `image` (string, nullable)
  - `caption` (string, nullable)
  - `credit` (string, nullable)
- `published_at` (integer, nullable)
- `updated_at` (integer, nullable)
- `image` (string, nullable)
- `image_caption` (string, nullable)
- `author_name` (string, nullable)
- `author_context` (string, nullable)
- `categories` (array) (default: [])
  - `@type` (string) (default: "AmnestyTerm")
  - `id` (string, required)
  - `name` (string, nullable)
  - `alias` (string, nullable)
- `countries` (array) (default: [])
  - `@type` (string) (default: "AmnestyTerm")
  - `id` (string, required)
  - `name` (string, nullable)
  - `alias` (string, nullable)
- `resource_types` (array) (default: [])
  - `@type` (string) (default: "AmnestyTerm")
  - `id` (string, required)
  - `name` (string, nullable)
  - `alias` (string, nullable)
- `topics` (array) (default: [])
  - `@type` (string) (default: "AmnestyTerm")
  - `id` (string, required)
  - `name` (string, nullable)
  - `alias` (string, nullable)
- `translations` (array) (default: [])
  - `@type` (string) (default: "AmnestyTranslation")
  - `language` (string, nullable)
  - `id` (string, required)

## Errors

### 422 — Validation Error

The request body did not validate

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

The entity was not found, or a precondition failed

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

