Home
Trefle
Trefle Get Species Example
Trefle Get Species Example
Agriculture Botany Open Data Plants Science
Trefle Get Species Example is an example object payload from Trefle, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
request response
Example Payload
{
"request": {
"method": "GET",
"url": "https://trefle.io/api/v1/species/solanum-lycopersicum?token={your_token}",
"headers": {
"Accept": "application/json"
}
},
"response": {
"status": 200,
"body": {
"data": {
"id": 678281,
"common_name": "Tomato",
"slug": "solanum-lycopersicum",
"scientific_name": "Solanum lycopersicum",
"status": "accepted",
"rank": "species",
"family": "Solanaceae",
"family_common_name": "Nightshade family",
"genus": "Solanum",
"genus_id": 2478,
"image_url": "https://bs.floristic.org/image/o/b38d354fd9d15a94d0b8b4a1e5e9d81694d3ebd4.jpg",
"edible": true,
"edible_part": ["fruit"],
"vegetable": true,
"distribution": {
"native": ["South America"],
"introduced": ["Europe", "North America", "Asia"],
"naturalised": ["Africa"]
},
"growth": {
"light": 9,
"atmospheric_humidity": 5,
"soil_humidity": 6,
"ph_minimum": 5.5,
"ph_maximum": 7.0,
"bloom_months": ["May", "June", "July", "August"],
"fruit_months": ["July", "August", "September", "October"]
},
"specifications": {
"growth_habit": "erect",
"growth_rate": "rapid",
"toxicity": "none",
"average_height": { "cm": 120 },
"maximum_height": { "cm": 200 }
},
"flower": {
"color": ["yellow"],
"conspicuous": true
},
"foliage": {
"texture": "medium",
"color": ["green"],
"leaf_retention": false
},
"fruit_or_seed": {
"conspicuous": true,
"color": ["red", "yellow", "orange"],
"shape": "round"
}
}
}
}
}
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/trefle-get-species-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no email required.
A second provider on the same verified email joins the account you already have.