Topic Trend

Turn a keyword or phrase into a monthly time series showing how prevalent it is across the Web Search index since 2000.

Explanation

Turns a keyword or phrase into a monthly time series of how prevalent it is across the NOSIBLE Web Search index. Use it for a historical prevalence series of a phrase, such as how often AI chip supply constraints appears, month by month since 2000.

POST/search/v2/topic-trend

Request

Authorizations

apiKey
Api-Keystringrequiredheader

Your NOSIBLE API key from the API Dashboard.

Example: nos_sk_...

Body

application/json
querystringrequiredbody

The topic to measure over time. Required: 5–100 characters. Keep the phrase stable when comparing months.

Example: artificial intelligence

sql_filterstringbody

Optional SQL filter over the trend index.

Example: SELECT loc, published FROM engine

Response

Response body

application/json

These are the fields you can build against. Nested names use dot notation; optional sections are called out in their descriptions.

messagestring

Optional query execution summary, or an explanation when no indexed words match.

queryobject

Effective trend query and filter parameters.

Example: { "query": "artificial intelligence" }

query.querystring

The phrase measured by the trend engine.

Example: artificial intelligence

responseobject

Month-end date keys mapped to monthly mean daily prevalence scores. The current calendar month can be partial.

Example: { "2026-08-31": 0.005548387096774193, "2026-09-30": 0.022699999999999998, "2026-10-31": 0.004740740740740741 }

response.2026-08-31number

Example monthly mean for August 2026. Month-end keys label calendar buckets; they do not claim an observation was made on that date.

Example: 0.005548387096774193

Responses and errors

HTTP
200Request succeeded. The body is shown in the response example.
401invalid_api_key — The key is missing, invalid or revoked. Send it in the api-key header: the Search API does not read Authorization: Bearer.
404search_route_not_found — The path is not a Search API route that nosible.world exposes.
405method_not_allowed — The route does not accept this HTTP method.
413request_too_large — The request body is larger than the proxy accepts.
422detail — A field is missing, out of range or of the wrong type, or the body is not valid JSON. The body is {"detail": [{loc, msg, type, input}]}, one entry per problem; enum errors list the allowed values.
400message — The sql_filter cannot run: it does not select FROM engine, names an unknown column, compares a column with the wrong type, or is not valid SQL. The body is {"message": "Invalid sql_filter: ..."}. Bulk and Time Search check the filter before the job is queued.
500message — Every shard the search needed failed. Retry. When only some shards fail, the results are returned and message says how many shards were skipped.
429rate_limited — The request exceeded the account's rate limit. Respect Retry-After when supplied.
502search_upstream_unavailable — The Search API could not be reached; retry shortly.
503api_key_auth_unavailable — API key authentication is temporarily unavailable; retry shortly.
503api_key_metering_unavailable — API key usage metering is temporarily unavailable, so the request was not served; wait for the Retry-After header (30 seconds) and retry.
504search_upstream_timeout — The Search API did not answer before the proxy deadline.