# Search Financial Instruments

Search Yahoo Finance by company name, ticker or keyword. Returns matching quotes with symbol, name, type, exchange, sector, industry, score and a full-size logo, plus related news hits. Use a returned symbol unchanged in the quote, history, fundamentals and news endpoints.

- **Documentation:** [https://scrappa.co/docs/yahoo-finance-api/yahoo_finance_search](https://scrappa.co/docs/yahoo-finance-api/yahoo_finance_search)
- **API group:** Yahoo Finance API
- **Endpoint:** `GET https://scrappa.co/api/yahoo-finance/search`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `q` | string | Yes | Company name, symbol or keyword, e.g. apple. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/yahoo-finance/search?q=apple"
```

## Example response

```json
{
    "query": "apple",
    "quotes": [
        {
            "symbol": "AAPL",
            "short_name": "Apple Inc.",
            "quote_type": "EQUITY",
            "exchange": "NMS",
            "exchange_display": "NasdaqGS",
            "logo_url": "https://s.yimg.com/..."
        }
    ],
    "news": [
        {
            "uuid": "abc",
            "title": "Apple shares rise",
            "publisher": "Reuters",
            "link": "https://...",
            "published_at": "2026-11-16T12:00:00Z"
        }
    ],
    "source": "yahoo_finance"
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Not found | No quotes or news matched the query. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
