Search API
You can use the Search API to search for stocks, collections, industries, sectors. It works for both TR and US regions.
Search
You can search for stocks, sectors, industries, and collections using this endpoint. You can also filter by region.
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/search?filter=AAPL&types=stock,sector,industry,collection®ion=us&locale=en&page=0&size=10' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| filter | Search term | AAPL | query | string |
| types | Comma-separated list of types to search for. | stock,sector,industry,collection | query | array |
| region | Region (Optional) | query | string | |
| locale | Locale | query | string | |
| page | Page number (Optional) | 0 | query | string |
| size | Page size (Optional) | query | string |
Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : { 4 items … }
▼"stocks" : [ 2 items … ]
▼0 : { 6 items … }
"id" : string"68e4daaa7da6c4cd12bd91d9"
"name" : string"Roundhill AAPL WeeklyPay ETF"
"type" : string"stock"
"title" : string"AAPW"
"region" : string"us"
"assetType" : string"etf"
}
▼1 : { 6 items … }
"id" : string"6203d1ba1e6748752755559a"
"name" : string"Apple Inc"
"type" : string"stock"
"title" : string"AAPL"
"region" : string"us"
"assetType" : string"stock"
}
]
▼"sectors" : [ 0 items … ]
]
▼"industries" : [ 0 items … ]
]
▼"collections" : [ 0 items … ]
]
}