Gradients catalog API
List and filter published gradient presets and retrieve a preset by its stable ID over HTTP or MCP.
List presets
curl 'https://app.visualmodo.com/api/gradients?q=copper&limit=12'The JSON response includes version, items, total, limit, and offset. Preset summaries carry the ID, title, collection, tone, tier, and revision.
| Parameter | Meaning |
|---|---|
| q | Search by preset name or related metadata |
| collection | Filter by collection key, display name, or supported alias |
| tone | dark or light |
| tier | free or pro |
| limit | Page size from 1 to 100. Defaults to 48. |
| offset | Number of results to skip. Defaults to 0. |
Get a preset
curl 'https://app.visualmodo.com/api/gradients/copper'Use the stable ID from the list response. The detail includes config with the rendering parameters. An unknown ID returns 404. A catalog that is temporarily unavailable returns 503.
Use the catalog through MCP
For an AI client, use Gradients through MCP to search the same public catalog, retrieve portable settings, and discover materials and component examples.