Search

Search companies and securities by keyword before requesting profiles, quotes, prices, or statements.

Use this endpoint when you need to discover the correct symbol before calling symbol-based endpoints.

Endpoint

GET /stocks/search
Test request
/stocks/search?query=nvidia&limit=10
Send a request to view the response.

Authentication

Required.

Authorization: Bearer <your_api_key>

Query Parameters

  • query: search text for symbols or company names
  • page: positive integer page number, default 1
  • per_page: positive integer page size, default 20
  • limit: alias of per_page

Response

Returns a paginated JSON payload of matching securities together with page metadata.

Typical fields include company name, symbol, exchange, and pagination fields such as page, per_page, total, and last_page.

Example Request

curl -H "Authorization: Bearer $your_api_key" \
  "https://api.apifinance.ai/stocks/search?query=nvidia&limit=10"