Query Parameters
Add query parameters to filter and request specific data from an API endpoint.
Query parameters are key-value pairs appended to the URL after a ?. They help you filter, paginate, and customize API responses.
Adding Parameters in the URL
Append ? to the URL and add parameters in key=value format. Separate multiple parameters with &.
url
https://pokeapi.co/api/v2/pokemon?offset=6&limit=3
Using the Parameters Tab
Switch to the Params tab to manage parameters as key-value rows. Each row has a key, value, description, and enable toggle.
- Add β Click + Add to add a new parameter row
- Toggle β Enable or disable parameters individually without removing them
- Description β Add notes to document each parameter's purpose
Example
curl
curl "https://pokeapi.co/api/v2/pokemon?offset=6&limit=3"
javascript
fetch("https://pokeapi.co/api/v2/pokemon?offset=6&limit=3")
.then(res => res.json())
.then(data => console.log(data.results)); Bulk Edit
Parameters also support bulk editing. Add or modify multiple parameters at once, with each key-value pair on a new line separated by a colon:
text
offset: 6
limit: 3
# comment: este estΓ‘ deshabilitado
Lines starting with # are treated as disabled.
On this page
Racoon