Web

Run a semantic web search with ranked results

Semantic web search powered by Exa. Returns titles, URLs, and a query-relevant excerpt per result.

post/api/v1/web/search

Request

  • Base URL: https://glim.sh
  • URL: https://glim.sh/api/v1/web/search
  • Auth: one of:
    • none
    • API key in header x-api-key
    • HTTP bearer
    • API key in query parameter apiKey

Request body

querystring required

Search query

include_domainsstring[]

Restrict results to these domains (e.g. ['arxiv.org'])

exclude_domainsstring[]

Exclude results from these domains. Useful for filtering noisy aggregators or SEO farms when you've seen them dominate results (e.g. ['pinterest.com', 'quora.com']).

published_within_daysinteger

Restrict to results published within the last N days. Skip this for broad queries - it excludes pages without publish-date metadata. Common values: 1, 7, 30, 365.

Response

Search results

object required

Changes

No recorded changes to this operation across all 1 revision of this API.