Skip to main content
POST
/
api
/
morningstar
/
quotes
/
search
/morningstar/quotes/search
curl --request POST \
  --url https://api.anysite.io/api/morningstar/quotes/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@morningstar_search_result",
    "performance_id": "<string>",
    "ticker": "<string>",
    "name": "<string>",
    "exchange": "<string>",
    "investment_type": "<string>",
    "investment_type_name": "<string>",
    "score": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query for ticker symbols or company names

Minimum string length: 1
count
integer
required

Maximum number of results

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@morningstar_search_result
performance_id
string | null
ticker
string | null
name
string | null
exchange
string | null
investment_type
string | null
investment_type_name
string | null
score
number | null