Search continents
Search our continents to filter companies in a specific location.
GET
https://api.thecompaniesapi.com/v2/locations/continents
Free
If you need to filter companies by continent, you can use this feature to retrieve information like their code.
Signup to access all our API features
Get your 500 free credits and start enriching and searching companies.
No credit card required
Query parameters
pagenumber (optional)
The page to fetch (default to 1).
searchstring (optional)
An additional search query applied to the continent name.
sizenumber (optional)
The number of continents to be returned (between 1 and 20). Default to 10.
Response schema
continentsarray
The continents that match your conditions.
metaobject
The metas information.
Code examples
Select your favorite language:
import createClient from '@thecompaniesapi/sdk'
const tca = createClient({ apiToken: 'YOUR_API_TOKEN' })
const response = await tca.searchContinents({
search: 'asia',
size: 5
})
const continents = response.data.continents // Continents that match the name
const meta = response.data.meta // Meta information