Layrs API
Verification as a Service (VaaS) — verify creative authenticity programmatically.
Overview
The Layrs API lets you verify creative work, retrieve proof scores, and embed verification badges. All endpoints return JSON and use standard HTTP status codes.
https://layrs.org/api/v1Authentication
Pass your API key via the X-Layrs-Key header. Public endpoints (verify by project ID, badge) don't require authentication.
curl "https://layrs.org/api/v1/verify?hash=abc..." \
-H "X-Layrs-Key: lk_live_your_key_here"Verify a Project
/api/v1/verifyprojectstring * — Project ID to verifyhashstring — SHA-256 hash of the file to verifycurl "https://layrs.org/api/v1/verify?project=abc123"{
"verified": true,
"project": {
"id": "abc123",
"title": "Brand Campaign Hero",
"proof_score": 82,
"proof_tier": "assisted"
},
"verification": {
"process_score": 30,
"verification_score": 25,
"consistency_score": 17,
"chain_length": 47,
"hardware_signed": true
},
"creator": {
"username": "designstudio",
"profile_url": "https://layrs.org/designstudio"
}
}Verify by File Upload
/api/v1/verifyUpload a file directly to check if it matches any verified project. The file is hashed server-side and compared against all known assets.
curl -X POST "https://layrs.org/api/v1/verify" \
-F "file=@design.png"Embeddable Badge
/api/v1/badge/:projectIdReturns an SVG badge showing the proof score and tier. Embed it anywhere — portfolio sites, marketplaces, social profiles.
<img src="https://layrs.org/api/v1/badge/PROJECT_ID"
alt="Layrs Verified" />Rate Limits
| Plan | Requests | Price |
|---|---|---|
| Free | 100/day | $0 |
| Pro | 10,000/day | $49/mo |
| Enterprise | Unlimited | Custom |
Errors
All errors return a JSON object with an error field.
| Status | Meaning |
|---|---|
| 400 | Bad request — missing or invalid parameters |
| 401 | Unauthorized — invalid or missing API key |
| 404 | Not found — project or hash doesn't exist |
| 429 | Rate limited — too many requests |
| 500 | Internal error — please retry or contact support |
{
"error": "Project not found",
"code": "NOT_FOUND",
"status": 404
}SDKs
Official SDKs are coming soon. In the meantime, the REST API works with any HTTP client.
Try It
Paste a project ID to verify it live.