Comment on page

Getting Entries

We set up a project called EC5 API Test. The project is public so anyone can perform a GET request to fetch its entries.
Here is the response of the following GET endpoint: (Open in browser)
"links": {
"self": "",
"first": "",
"prev": null,
"next": null,
"last": ""
"meta": {
"total": 3,
"per_page": 50,
"current_page": 1,
"last_page": 1,
"from": 1,
"to": 1
"data": {
"id": "ec5-api-test",
"type": "entries",
"entries": [
"ec5_uuid": "39f51e6d-6438-76ba-e63c-82b6b387c041",
"created_at": "2017-04-27T14:42:04.080Z",
"1_Name": "Megan Fox",
"2_Age": 30,
"3_Date_of_birth": "16/05/1986",
"4_Sex": "Female",
"5_Photo": ""
"ec5_uuid": "768bb179-fd2c-87b1-ec20-86a9acfdc87a",
"created_at": "2017-04-27T14:38:17.564Z",
"1_Name": "Jim Carrey",
"2_Age": 55,
"3_Date_of_birth": "17/01/1962",
"4_Sex": "Male",
"5_Photo": ""
"ec5_uuid": "e83d3770-2b55-11e7-a60a-656c7ec627a0",
"created_at": "2017-04-27T14:29:22.663Z",
"1_Name": "Nicholas Cage",
"2_Age": 53,
"3_Date_of_birth": "07/01/2017",
"4_Sex": "Male",
"5_Photo": ""
"mapping": {
"map_name": "EC5_AUTO",
"map_index": 0
Since we did not pass any map parameter, by default the entries are mapped against the default EC5_AUTO mapping.
The links and meta properties contains info about how many entries there are in total and the endpoints to get the next set. By default the entries are paginated by 50 at a time, so you will have to write a loop to get all of them by using the enpoint until is null. In the above example it is null already as we only have a few entries.