Authentication
All requests use your FetchLayer API key as a Bearer token. No MakerWorld login, Bambu Lab account, or OAuth flow is required.
Sending requests
curl -X POST https://api.fetchlayer.dev/makerworld/search-models \
-H "Authorization: Bearer ss-your-key" \
-H "Content-Type: application/json" \
-d '{"query":"cable management"}'Keep your key secret
Downloading images
The image download endpoint is a GET, and carries the same Bearer header. Because the key travels in a header rather than the URL, an image URL cannot be shared without also sharing the key.
curl -X GET "https://api.fetchlayer.dev/makerworld/media?url=https%3A%2F%2Fmakerworld.bblmw.com%2F...%2Fcover.png&filename=cover.png" \
-H "Authorization: Bearer ss-your-key" \
-H "Range: bytes=0-65535" \
--output cover.pngAuthentication errors
A missing or invalid key returns HTTP 401.
{
"error": "Invalid API key"
}