Help

how to get data for a specific field?

Topic Labels: API
234 3
cancel
Showing results for 
Search instead for 
Did you mean: 
dodo21
4 - Data Explorer
4 - Data Explorer

When using the get request to get list of all the records is there anyway we can get list of all the records but the data only returns specific fields?

3 Replies 3

Set the <fields> option to an array of the fields (field names/ids) you want. This works for both scripting and the web api.

Could you give me a example of this parameter in the URL I think I might be doing something wrong I can't get it to work

Here:

https://api.airtable.com/v0/appz6YcyO3dXfqDWV/Table%201?fields%5B%5D=Name&fields%5B%5D=Notes

This is set up to only return the 'Name' and 'Notes' field

If you click into the specific base you're trying to access on this page Airtable provides base specific examples as well:  https://airtable.com/developers/web/api/introduction