Authorization
All requests to the Verdantly API are authenticated through the RapidAPI platform. This guide covers how to authenticate your requests, which endpoints are publicly accessible, and how rate limiting works.
RapidAPI authentication
Every authenticated request to the Verdantly API requires two headers:
- Name
X-RapidAPI-Key- Type
- string
- Description
Your unique API key from RapidAPI. Found in the RapidAPI developer dashboard under the Authorization tab.
- Name
X-RapidAPI-Host- Type
- string
- Description
Always set to
verdantly-gardening-api.p.rapidapi.com.
To get your API key:
- Sign up at RapidAPI
- Subscribe to the Verdantly API
- Copy your API key from the dashboard
The free Basic plan includes 25 requests per month — enough to explore the API and test your integration. Upgrade to Pro (10,000/month) or higher for production use.
Example authenticated request
curl -G "https://verdantly-gardening-api.p.rapidapi.com/v1/plants/varieties/search?q=tomato" \
-H "X-RapidAPI-Host: verdantly-gardening-api.p.rapidapi.com" \
-H "X-RapidAPI-Key: YOUR_API_KEY"
Public endpoints
Some endpoints are publicly accessible and do not require an API key. These are read-only reference endpoints:
- Hardiness zones —
GET /v1/hardiness-zones/zipcode/:zipcode - Frost dates —
GET /v1/frost-dates/:zipcode - Companion planting —
GET /v1/companion-planting/:plantType - Pests —
GET /v1/pests/:plantType - Diseases —
GET /v1/diseases/:plantType - Growing guides —
GET /v1/growing-guides/:plantType
Public endpoints follow the same response format as authenticated endpoints. No headers are required.
Public endpoint example
curl "https://verdantly-gardening-api.p.rapidapi.com/v1/hardiness-zones/zipcode/10001"
Rate limits
The Verdantly API enforces rate limits at two levels: RapidAPI plan quotas (monthly) and server-side burst protection.
Monthly quotas (via RapidAPI)
- Name
Basic (Free)- Type
- 25 requests / month
- Description
Explore endpoints and test your integration.
- Name
Pro- Type
- 10,000 requests / month
- Description
Production-ready for most applications. $25/month.
- Name
Ultra- Type
- 100,000 requests / month
- Description
High-volume applications. $50/month.
- Name
Mega- Type
- 500,000 requests / month
- Description
Enterprise-scale usage. $100/month.
Server-side burst protection
- Name
Short burst- Type
- 100 requests / 10 seconds
- Description
Applies to all endpoints. Prevents rapid-fire requests.
- Name
Default- Type
- 600 requests / 60 seconds
- Description
Standard rate limit for most endpoints.
Rate limit response headers
Every response includes headers to help you track your usage:
- Name
X-RateLimit-Limit- Type
- integer
- Description
The maximum number of requests allowed in the current window.
- Name
X-RateLimit-Remaining- Type
- integer
- Description
The number of requests remaining in the current window.
- Name
X-RateLimit-Reset- Type
- integer
- Description
Unix timestamp (in seconds) when the rate limit window resets.
When you exceed a rate limit, the API returns a 429 Too Many Requests status code. Wait until the X-RateLimit-Reset time before retrying.
If you're hitting rate limits frequently, consider adding a small delay between requests or upgrading your plan for higher limits.
429 Response
{
"statusCode": 429,
"message": "Too many requests. Please try again later.",
"error": "Too Many Requests"
}