Layrs API

Verification as a Service (VaaS) — verify creative authenticity programmatically.

Verify a Project

GET/api/v1/verify
hashstringSHA-256 hash of the file to verify
projectstringProject ID to verify
Example Request
curl "https://layrs.vercel.app/api/v1/verify?project=abc123"
Example Response
{
  "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.vercel.app/designstudio"
  }
}

Verify by File Upload

POST/api/v1/verify
Example
curl -X POST "https://layrs.vercel.app/api/v1/verify" \
  -F "file=@design.png"

Embeddable Badge

GET/api/v1/badge/:projectId

Returns an SVG badge showing the proof score and tier.

HTML Embed
<img src="https://layrs.vercel.app/api/v1/badge/PROJECT_ID" alt="Layrs Score" />

Authentication

Pass your API key via the X-Layrs-Key header.

Authenticated Request
curl "https://layrs.vercel.app/api/v1/verify?hash=abc..." \
  -H "X-Layrs-Key: lk_live_your_key_here"

Rate Limits

Free100/day$0
Pro10,000/day$49/mo
EnterpriseUnlimitedCustom