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.

Base URL
https://layrs.org/api/v1

Authentication

Pass your API key via the X-Layrs-Key header. Public endpoints (verify by project ID, badge) don't require authentication.

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

Verify a Project

GET/api/v1/verify
projectstring *Project ID to verify
hashstringSHA-256 hash of the file to verify
Request
curl "https://layrs.org/api/v1/verify?project=abc123"
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.org/designstudio"
  }
}

Verify by File Upload

POST/api/v1/verify

Upload a file directly to check if it matches any verified project. The file is hashed server-side and compared against all known assets.

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

Embeddable Badge

GET/api/v1/badge/:projectId

Returns an SVG badge showing the proof score and tier. Embed it anywhere — portfolio sites, marketplaces, social profiles.

HTML Embed
<img src="https://layrs.org/api/v1/badge/PROJECT_ID"
     alt="Layrs Verified" />
Markdown
![Layrs Score](https://layrs.org/api/v1/badge/PROJECT_ID)

Rate Limits

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

Errors

All errors return a JSON object with an error field.

StatusMeaning
400Bad request — missing or invalid parameters
401Unauthorized — invalid or missing API key
404Not found — project or hash doesn't exist
429Rate limited — too many requests
500Internal error — please retry or contact support
Error Response
{
  "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.

JavaScript
Coming Soon
Python
Coming Soon
Go
Coming Soon

Try It

Paste a project ID to verify it live.