Introduction
Welcome to LeadsOnTrees documentation. Here you will find information on how to use our API to access advanced funding analytics data.
Authentication
Our API uses simple API key authentication for secure access. To authenticate your requests, follow these steps:
- Obtain your API key in Settings page
- Include your API key in the x-lot-api-key header of your API requests
x-lot-api-key: YOUR_API_KEY
Endpoints
Root url is https://leadsontrees.com
GET /api/v1/funding
Retrieve advanced & real time funding data. Fundings will be sorted from the most recent to the oldest.
Rate limit:
10 requests per minute
Parameters:
- round (optional): seed round to filter by (e.g. seed, pre-seed, etc.)
- category (optional): array of categories to filter by (e.g. AI, Web3, etc.)
- amount (optional): minimum funding amount
- date_from (optional): Funding date from which to start (YYYY-MM-DD)
- date_to (optional): Funding date to which to end (YYYY-MM-DD)
Example Response:
{
"message": "OK",
"params": {
"category": [
"Healthcare"
],
"round": [],
"amount": null,
"date_from": null,
"date_to": null
},
"response": {
"data": [
{
"company_name": "company",
"round_type": "series b",
"funding_amount": 50000000,
"currency": "USD",
"investors": [
{
"name": "Investor A",
"linkedin_url": "URL"
}]
.....
GET /api/v1/subreddits
Search subreddits via API. All responses are sorted by default by largest subscribers number.
Rate limit:
10 requests per minute
Parameters:
- subscribers (optional): range of subscribers the subreddit must have. From, to
- search (optional): text to search for. It will search in titles, categories & description.
Example Response:
{
"message": "OK",
"params": {
"subscribers": [],
"search": null
},
"response": {
"data": [
{
"title": "announcements",
"description": "Official announcements from Reddit, Inc.",
"subscribers": 308067909,
"url": "https://old.reddit.com/r/announcements/",
"categories": [
"News",
"Official",
"Reddit",
"Announcements",
"Updates"
]
},
{
"title": "funny",
"description": "Reddit's largest humor depository",
"subscribers": 63331367,
"url": "https://old.reddit.com/r/funny/",
"categories": [
"Humor",
"Entertainment",
"Comedy",
"Memes",
"Culture"
]
},
.....
],
"page": 1,
"next_page": 2,
"total_pages": 19311
}
}