Quickstart

Doing your first LangSearch with Offical API, LLM tools, or AI Agent Plugins.

Get API key

First, create an account and grab a free API key.

https://langsearch.com/api-keys

Try Web Search API

cURL

curl --location 'https://api.langsearch.com/v1/web-search' \
--header 'Authorization: Bearer YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data '{
    "query": "tell me the highlights from Apple 2024 ESG report",
    "freshness": "noLimit",
    "summary": true,
    "count": 10
}'

Python

Try Semantic Rerank API

cURL

Python

Last updated