Skip to content

Interactive Query Builder โ€‹

Use our interactive query builder to create the perfect API query for your needs. This tool helps you build complex queries with all available parameters and generates the corresponding URL and cURL command.


๐Ÿ”— Endpoint

๐Ÿ“ฐ Title Parameters

๐ŸŒ Language

๐Ÿ“‚ Categories

๐Ÿท๏ธ Topics

๐Ÿญ Industries

๐ŸŽฏ Entities

๐Ÿ‘ค Persons

๐Ÿ“ Locations

๐Ÿข Organizations

๐Ÿท๏ธ Brands

โœ๏ธ Authors

๐Ÿ˜Š Sentiment

๐Ÿ–ผ๏ธ Media

๐Ÿ“ก Source

๐Ÿ“… Date Range

๐Ÿ”„ Sorting

๐Ÿ“„ Pagination

๐Ÿ”ง Other Filters

๐Ÿ“ค Export Format

๐Ÿ”‘ API Key

๐Ÿ”— Ready to Integrate?

Get your generated query working in your favorite programming language with our comprehensive integration guides.

๐Ÿ“ฑ Mobile & Desktop
๐ŸŒ Web Development
๐Ÿ’ป Backend & Enterprise
๐Ÿ”ง Tools & Scripts

๐Ÿš€ Generated Query

URL:https://api.apitube.io/v1/news/everything?sort.order=desc&api_key=YOUR_API_KEY
cURL Command:
curl -X GET "https://api.apitube.io/v1/news/everything?sort.order=desc&api_key=YOUR_API_KEY"

Quick Start Examples โ€‹

Example 1: Technology News with Positive Sentiment โ€‹

Fill in these fields in the query builder:

  • Title: AI, technology, innovation
  • Language Code: en
  • Sentiment Polarity: positive
  • Source Country Code: us
  • Sort By: published_at

Example 2: Financial News Analysis โ€‹

  • Category ID: medtop:04000000 (Finance)
  • Organization Name: Apple, Google, Microsoft
  • Sentiment Score Min: 0.5
  • Source Rank Min: 0.7
  • Published At Start: Select last month

Example 3: Breaking News Monitoring โ€‹

  • Is Breaking: โœ“ (checked)
  • Language Code: en, fr, de
  • Per Page: 50
  • Sort By: published_at
  • Sort Order: desc

Parameter Categories โ€‹

The query builder organizes parameters into logical sections:

SectionParametersUse Cases
๐Ÿ”— EndpointAPI endpoint selectionChoose data source
๐Ÿ“ฐ TitleTitle filtering and patternsContent targeting
๐ŸŒ LanguageLanguage codes and exclusionsMulti-language content
๐Ÿ“‚ CategoriesIPTC category taxonomyTopic classification
๐Ÿท๏ธ TopicsCustom topic identifiersSpecific subject areas
๐Ÿญ IndustriesIndustry classificationBusiness sector analysis
๐ŸŽฏ EntitiesNamed entity recognitionPerson/place/organization
๐Ÿ‘ค PersonsPeople mentioned in articlesCelebrity/public figure tracking
๐Ÿ“ LocationsGeographic targetingRegional news analysis
๐Ÿข OrganizationsCompany/institution filteringCorporate news monitoring
๐Ÿท๏ธ BrandsBrand mention trackingMarketing intelligence
โœ๏ธ AuthorsJournalist/writer filteringAuthor-based curation
๐Ÿ˜Š SentimentEmotion and opinion analysisSentiment monitoring
๐Ÿ–ผ๏ธ MediaImage/video requirementsRich media content
๐Ÿ“ก SourcePublisher filtering and rankingSource credibility
๐Ÿ“… Date RangeTime-based filteringHistorical/recent analysis
๐Ÿ”„ SortingResult orderingData presentation
๐Ÿ“„ PaginationResult chunkingLarge dataset handling
๐Ÿ”ง Other FiltersAdvanced optionsContent quality control
๐Ÿ“ค ExportOutput format selectionData integration

API Key Management โ€‹

Security Note

Never share your API key publicly. The query builder stores your key locally in your browser session only.

To test queries directly:

  1. Enter your API key in the ๐Ÿ”‘ API Key section
  2. Configure your query parameters
  3. Click ๐Ÿงช Test Query to open results in a new tab

Advanced Usage Tips โ€‹

1. Multiple Values โ€‹

Most parameters support multiple values separated by commas:

title=Bitcoin,Ethereum,Cryptocurrency
source.domain=cnn.com,bbc.com,reuters.com
language.code=en,fr,de

2. Exact Phrase Matching โ€‹

Use quotes for exact phrases:

title="Breaking News"
organization.name="Apple Inc"

3. Regex Patterns โ€‹

Use the title pattern field for complex matching:

title_pattern=^Breaking.*|.*Update$

4. Date Formats โ€‹

The date fields support multiple formats:

  • 2024-01-15 (YYYY-MM-DD)
  • 2024-01-15T10:30:00Z (ISO format)
  • 15-01-2024 (DD-MM-YYYY)

5. Combining Filters โ€‹

Combine multiple filter types for precise targeting:

  • Technology news + Positive sentiment + High-ranked sources
  • Financial articles + Specific companies + Last 7 days
  • Breaking news + Multiple languages + Video content

Integration Examples โ€‹

JavaScript/Node.js โ€‹

javascript
// Copy the generated URL from the query builder
const apiUrl = 'https://api.apitube.io/v1/news/everything?title=AI&sentiment.overall.polarity=positive&api_key=YOUR_KEY';

fetch(apiUrl)
  .then(response => response.json())
  .then(data => console.log(data));

Python โ€‹

python
import requests

# Copy the generated URL from the query builder
url = "https://api.apitube.io/v1/news/everything"
params = {
    "title": "AI",
    "sentiment.overall.polarity": "positive",
    "api_key": "YOUR_KEY"
}

response = requests.get(url, params=params)
data = response.json()

cURL โ€‹

Simply copy the generated cURL command from the query builder and run it in your terminal.

Need Help? โ€‹

  • ๐Ÿ“– Check the Parameters Reference for detailed parameter documentation
  • ๐Ÿ”ง Visit Common Workflows for more examples
  • ๐Ÿ› Report issues or request features through our support channels

The query builder is constantly updated to reflect the latest API capabilities. Bookmark this page for easy access to the most current version.