Magic Hour Categories API
The template categories listed on magichour.ai's templates hub, in the site's order: slug, display name and page url. Each slug can be passed as `category` to /templates and /explore.
https://api.maviapi.com/v1/sites/magichour/categories5 credits per callParameters
This endpoint takes no parameters.
Example request
Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.
curl 'https://api.maviapi.com/v1/sites/magichour/categories' \
-H "Authorization: Bearer $MAVI_KEY"Magic Hour Categories API questions
What you get, what it costs and how to call it.
What does the Magic Hour Categories API return?
The template categories listed on magichour.ai's templates hub, in the site's order: slug, display name and page url. Each slug can be passed as `category` to /templates and /explore.
How much does one Magic Hour Categories API call cost?
One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.
How do I call the Magic Hour Categories API?
Send an HTTPS GET request to https://api.maviapi.com/v1/sites/magichour/categories with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.
Is the Magic Hour Categories API official?
No. It is an independent, hosted API from maviapi for the public data on magichour.ai, and it is not made, endorsed or supported by Magic Hour. Its parameters and response fields are documented on this page.