How to use the Query Builder
Choose filters and copy a request URL or cURL command
Written by Jacob Partington
July 4, 2026
Updated October 16, 2026
How to use the Query Builder
Open the APITube Query Builder to build a request from form fields. Choose an endpoint and filters; the URL and cURL command update as you edit. You can copy a request without signing in.
How do you build a request with the Query Builder?
- Choose an endpoint. Everything (
/v1/news/everything) is the default. - Fill the filters you need. Empty fields are left out.
- Copy the generated URL or cURL command.
For example, a title of AI and positive sentiment produce:
https://api.apitube.io/v1/news/everything?title=AI&sentiment.overall.polarity=positive&api_key=YOUR_API_KEY
The labels map to API names: Sentiment Polarity becomes sentiment.overall.polarity, Language Code becomes language.code, and Source Rank Min becomes source.rank.opr.min.
Which endpoints and filters can you use?
Choose Everything, Top Headlines, Story, Category, Topic, Industry, Entity, Trends or Single Article. Filters are grouped by subject, including keywords, language, taxonomy, entities, people, sources, sentiment, media, dates, sorting, pagination and export.
Some input rules to know:
- Use commas for multiple values in fields that support them, such as
language.code=en,fr,de. - Use quotes for an exact headline phrase, such as
title="Breaking News". - A title pattern matches text without case sensitivity; it is not a regular expression. Symbols such as
^,.and*are literal text. - Sorting uses
sort.byandsort.order. The default is newest publication date first.
Check the parameter reference for each field’s accepted values.
How do you copy the URL or cURL command?
Click Copy URL or Copy cURL below the form. Without a key, the request uses YOUR_API_KEY. Replace that placeholder when you run it.
With a real key entered, Test Query opens the request in a new tab and shows the raw response. It makes a real API call, with normal charges and limits for your key.
See how to combine filters and where to find your key.
Common Questions
- Where does the Query Builder live?
- Is the Query Builder the same as the Playground?
- Is my API key safe in the Query Builder?
- Do I need an API key to build a request?
Where does the Query Builder live?
On the documentation site at docs.apitube.io/platform/news-api/query-builder. No login is needed to build and copy a request.
Is the Query Builder the same as the Playground?
No. The Query Builder prepares a URL or command and opens tests in a new tab. The dashboard’s API Playground lets you select a workspace key and inspect JSON, article cards and headers in the same page.
Is my API key safe in the Query Builder?
The builder uses it in your browser to prepare the request. Once entered, the key is included in generated URLs and copied commands. Clear the key before sharing a request, or leave the placeholder in place. A tested URL may also appear in browser history.
Do I need an API key to build a request?
No. Build and copy it with YOUR_API_KEY as a placeholder. A real key is needed to run Test Query.