# COVID-19 API - How can you return more records than the default

**URL:** <https://community.postman.com/t/covid-19-api-how-can-you-return-more-records-than-the-default/11552>\
**Category:** Help Hub\
**Tags:** url-params\
**Created:** [March 27, 2020, 3:01am UTC](https://community.postman.com/t/covid-19-api-how-can-you-return-more-records-than-the-default/11552 "2020-03-27T03:01:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![esterdid](https://avatars.discourse-cdn.com/v4/letter/e/f9ae1b/32.png) [@esterdid](https://community.postman.com/u/esterdid)\
**Post date:** [March 27, 2020, 3:01am UTC](https://community.postman.com/t/covid-19-api-how-can-you-return-more-records-than-the-default/11552/1 "2020-03-27T03:01:08Z")

</div>

Hello,

I am New to Postman but trying to get some data into csv from  
[https://corona-virus-stats.herokuapp.com/api/v1/cases/countries-search](https://corona-virus-stats.herokuapp.com/api/v1/cases/countries-search)

Currently it is only showing 10 records and there is around 200 of them and growing.

How to format the link so am able to get all the records?

Thank you

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [March 27, 2020, 8:34am UTC](https://community.postman.com/t/covid-19-api-how-can-you-return-more-records-than-the-default/11552/2 "2020-03-27T08:34:02Z")

</div>

Hey @esterdid,

Welcome to the community!! 👋

There are a number of URL params that you can use with the API - One of which is the `limit` param, which can be used to return more records. Without that param, it’s just returning the default limit.

Using `limit` on the URL would give you more data:

```
https://corona-virus-stats.herokuapp.com/api/v1/cases/countries-search?limit=200  

```

Other params that can be used in the same way are:

- page
- search
- order
- how

There is some level of error handling on the API that will display the options available if you get the `order` value incorrect.

```
{
    "errors": "Invalid order options. Order options must be one of ['total_cases', 'new_cases', 'total_recovered', 'total_deaths', 'new_deaths', 'active_cases', 'serious_critical', 'cases_per_mill_pop']",
    "status": "failed"
} 

```

More details about the API can be found here:

[https://explore.postman.com/templates/6453/covid19-api](https://explore.postman.com/templates/6453/covid19-api)

---

<div class="post-metadata">

**Author:** ![esterdid](https://avatars.discourse-cdn.com/v4/letter/e/f9ae1b/32.png) [@esterdid](https://community.postman.com/u/esterdid)\
**Post date:** [March 27, 2020, 10:12am UTC](https://community.postman.com/t/covid-19-api-how-can-you-return-more-records-than-the-default/11552/3 "2020-03-27T10:12:13Z")

</div>

> [@danny-dainton](#):
>
> [https://corona-virus-stats.herokuapp.com/api/v1/cases/countries-search?limit=200](https://corona-virus-stats.herokuapp.com/api/v1/cases/countries-search?limit=200)

Thanks a lot Danny. That is what I needed.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [March 27, 2020, 10:20am UTC](https://community.postman.com/t/covid-19-api-how-can-you-return-more-records-than-the-default/11552/4 "2020-03-27T10:20:49Z")

</div>

You’re welcome. 🏆

I extended the answer to include the rest of the params, just incase anyone had a similar question for the same API.
