List of Countries, Languages and Sorting Options

This lesson contains the list of countries, languages, and sorting options that can be assigned to the query parameters while making a call.

Countries list

The table below contains the keys of the countries we can use as query parameters with the Sources and Top headlines endpoints:

Country

Key

Country

Key

Argentina

ar

Morocco

ma

Australia

au

Netherlands

nl

Austria

at

New Zealand

nz

Belgium

be

Nigeria

ng

Brazil

br

Norway

no

Bulgaria

bg

Philippines

ph

Canada

ca

Poland

pl

China

cn

Portugal

pt

Colombia

co

Romania

ro

Cuba

cu

Russia

ru

Czech Republic

cz

Saudi Arabia

sa

Egypt

eg

Serbia

rs

France

fr

Singapore

sg

Germany

de

Slovakia

sk

Greece

gr

Slovenia

si

Hong Kong

hk

South Africa

za

Hungary

hu

South Korea

kr

India

in

Sweden

se

Indonesia

id

Switzerland

ch

Ireland

ie

Taiwan

tw

Israel

il

Thailand

th

Italy

it

Turkey

tr

Japan

jp

UAE

ae

Latvia

lv

Ukraine

ua

Lithuania

lt

United Kingdom

gb

Malaysia

my

United States

us

Mexico

mx

Venezuela

ve

Languages list

The table below contains the keys of the languages we can use as query parameters with the Sources and Everything endpoints:

Language

Key

Language

Key

Arabic

ar

Spanish

es

German

de

French

fr

English

en

Hebrew

he

Italian

it

Dutch

nl

Norwegian

no

Portuguese

pt

Russian

ru

Swedish

sv

Urdu

ud

Chinese

zh

Sorting options list

The table below contains the options we can use to sort the results while using the Everything endpoint:

Sorting options

Description

relevancy

This makes the most relevant articles come first.

popularity

This makes the articles from popular sources come first.

publishedAt

This makes the newest articles come first.

By default, the newest articles appear first.