ByteStack lets you query the open web the same way you’d ask a question to a colleague — in plain English. You write a prompt describing what you want to find, and ByteStack executes it across thousands of web sources, returning structured records you can explore, export, or pipe into downstream workflows. No query language, no manual scraping, no API wrangling required.Documentation Index
Fetch the complete documentation index at: https://docs.bytestack.com/llms.txt
Use this file to discover all available pages before exploring further.
How queries work
When you submit a query, ByteStack interprets your prompt, identifies the most relevant sources, fetches matching content, and returns structured results. You can optionally narrow the query to specific platforms, set a date range, or cap the number of records returned.Write your prompt
Describe what you want to find in plain English. Be as specific as possible — mention platforms, time ranges, and the subject you care about.
ByteStack executes the query
ByteStack routes your prompt to the relevant sources, scrapes matching content, and runs any requested analysis (such as sentiment classification).
Query parameters
Every query accepts the following parameters:| Parameter | Type | Description |
|---|---|---|
prompt | string | Your natural language query (required) |
sources | array | Platforms to query. Use ["all"] to search all sources |
date_range | object | Restrict results to a time window (from and to as ISO 8601 dates) |
limit | integer | Maximum number of records to return (default: 100) |
Example queries
The following examples show how to structure a query via the API:Result structure
Each query returns an array of records. Here is an example response:id— unique record identifiersource— the platform the record was fetched fromauthor— username or display name of the content creatorcontent— the raw text of the post or mentionsentiment—positive,negative, orneutraltimestamp— ISO 8601 datetime of when the content was publishedurl— direct link to the original content
Prompt writing FAQ
What makes a good query prompt?
What makes a good query prompt?
The most effective prompts are specific about three things: subject (what or who you’re researching), platform (where you want to look), and time frame (how recent the data should be).A vague prompt like “what do people say about my brand” will return broad, unfocused results. A specific prompt like “What are the top complaints about Acme’s pricing on Reddit and X in the last 30 days?” gives ByteStack a clear scope and returns actionable data.You don’t need to use structured query syntax — write naturally, as if briefing a researcher.
Can I ask follow-up questions on the same results?
Can I ask follow-up questions on the same results?
Yes. Within your project workspace, you can refine a query or ask follow-up questions against the same result set without re-running a full fetch. Use the prompt bar in the dashboard to continue the conversation.
How far back does data go?
How far back does data go?
Date range availability varies by source. Most social platforms support queries going back 12–24 months. Use the
date_range parameter to target a specific window and avoid fetching more data than you need.What happens if a source returns no results?
What happens if a source returns no results?
ByteStack returns an empty array for that source and continues fetching from others. The response includes a
sources_queried summary so you can see which platforms were searched and how many records each returned.