Skip to content
Happy Endpoint
API Fundamentals

Query Parameters

Definition updated April 2026

What are query parameters?

Query parameters are key-value pairs appended to a URL to filter, sort, or configure the data returned by an API endpoint. They appear after a ? in the URL, separated by & characters - for example /product-search?keyword=sofa&sort=price_asc®ion=usa.

Query parameters are the primary mechanism for customizing GET requests without changing the endpoint path. Common uses include keyword search terms, geographic filters, price ranges, sort order, page number, and results per page.

Required parameters must be included for the endpoint to function - such as a productId for a product details endpoint. Optional parameters add filtering or customization but the endpoint will return results without them.

Ready to work with live data?

HappyEndpoint APIs deliver real-world data from leading platforms - no scraping, no stale snapshots.

Explore APIs