API Keys
Create API keys to integrate Photo to Listing with your AI agents and applications.
Create a new API key
Your API keys
No API keys yet. Create one to get started.
Quick start
Use your API key to generate listings programmatically.
# Generate listings from a photo
curl -X POST https://phototolisting.com/api/v1/listings \
-H "X-API-Key: ptl_your_key_here" \
-H "Content-Type: application/json" \
-d '{
"photos": ["<base64_image>"],
"platforms": ["leboncoin", "vinted"]
}'
# Check your remaining quota
curl https://phototolisting.com/api/v1/usage \
-H "X-API-Key: ptl_your_key_here"POST /api/v1/listings — Upload photos (base64, max 4) and get marketplace listings.
GET /api/v1/usage — Check your remaining quota and plan info.
Rate limits: 10 req/min (free), 60 req/min (Pro). Quota is shared with the web app.