Rights API
The Rights API lets your product check, price and license an athlete’s name, face and voice for licensed campaigns, under a contract licence with blocked categories and takedown enforced.
Test key
Shown once. Test mode: no money moves and nothing is generated.
Quickstart
Step 1
Create a hire request
export VALARITAS_KEY=vk_test_EXAMPLE
HIRE=$(curl -s -X POST https://www.valaritasports.com/v1/hire-requests \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Valaritas-Version: 2026-11-02" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"athlete":"sophine-kevorkian","brand":"Northwind","use":"Spring running shoe social campaign"}')
printf '%s\n' "$HIRE"
Step 2
Read its status
HIRE_ID=$(printf '%s' "$HIRE" | grep -o '"id":"hire_[a-f0-9]*"' | head -1 | cut -d'"' -f4) curl -s https://www.valaritasports.com/v1/hire-requests/$HIRE_ID \ -H "Authorization: Bearer $VALARITAS_KEY"
Step 3
Decide, then verify the signed webhook
INBOX_URL=$(curl -s https://www.valaritasports.com/v1/test_inbox \
-H "Authorization: Bearer $VALARITAS_KEY" \
| grep -o '"endpoint_url":"[^"]*"' | cut -d'"' -f4)
ENDPOINT=$(curl -s -X POST https://www.valaritasports.com/v1/webhook_endpoints \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Valaritas-Version: 2026-11-02" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d "{\"url\":\"$INBOX_URL\",\"enabled_events\":[\"license.approved\"]}")
printf '%s\n' "$ENDPOINT"
SECRET=$(printf '%s' "$ENDPOINT" | grep -o '"secret":"whsec_[^"]*"' | cut -d'"' -f4)
curl -s -X POST https://www.valaritasports.com/v1/hire-requests/$HIRE_ID/decision \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Valaritas-Version: 2026-11-02" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"decision":"approve"}'
curl -s https://www.valaritasports.com/v1/events \
-H "Authorization: Bearer $VALARITAS_KEY"
DELIVERED=$(curl -s https://www.valaritasports.com/v1/test_inbox \
-H "Authorization: Bearer $VALARITAS_KEY")
printf '%s\n' "$DELIVERED"
export SECRET DELIVERED
node --input-type=module -e 'import { createHmac } from "node:crypto"; const inbox = JSON.parse(process.env.DELIVERED || "{}"); const row = (inbox.data || [])[0] || {}; const header = String(row.signature || ""); const t = Number((header.match(/t=(\d+)/) || [])[1]); const v1 = String((header.match(/v1=([a-f0-9]+)/i) || [])[1] || "").toLowerCase(); const mac = createHmac("sha256", process.env.SECRET || "").update(String(t) + "." + row.body).digest("hex"); if (!v1 || mac !== v1) process.exit(1); const event = JSON.parse(row.body); if (event.type !== "license.approved") process.exit(1); console.log(JSON.stringify({ signature: "verified", type: event.type }));'
Reference
How auth works
- Send your secret key on every request:
Authorization: Bearer vk_test_…. Test keys start withvk_test_; live keys start withvk_live_and stay off until live mode opens. - Every POST also sends an
Idempotency-Key. Retrying with the same key and body returns the first answer. - Pin a version with
Valaritas-Version: 2026-11-02. Without it you get the current version. - A missing or invalid key is a
401. Every error has the same shape:{"error":{"code","message",…}}.
Error shape
{
"error": {
"type": "authentication_error",
"code": "api_key_required",
"param": null,
"message": "Missing API key. Send Authorization: Bearer vk_test_…",
"doc_url": "https://www.valaritasports.com/docs/api/errors#api_key_required",
"request_id": "req_5c0d9e8f7a6b5c4d3e2f1a0b"
}
}
Endpoints
GET/v1/athletes · List athletes
Request
curl "https://www.valaritasports.com/v1/athletes?query=rowan" \ -H "Authorization: Bearer $VALARITAS_KEY"
Response
{
"object": "list",
"data": [
{
"id": "ath_test_clears",
"object": "athlete",
"livemode": false,
"created": 1760000000,
"name": "Rowan Hale",
"sport": "Track",
"categories": [
"telecom"
],
"blocked_categories": [],
"availability": "available",
"available_for": [
"ad",
"fan_content",
"licensing",
"generation"
],
"price_cents": 1000000,
"currency": "usd",
"metadata": {}
}
],
"has_more": false,
"url": "/v1/athletes",
"livemode": false
}
POST/v1/clearances · Clear an athlete for a use
Request
curl -X POST https://www.valaritasports.com/v1/clearances \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"athlete":"ath_test_clears","use":"ad","category":"Telecom","territory":"US","channel":"social"}'
Response
{
"id": "clr_8f3a2c1d9e0b4a7c",
"object": "clearance",
"livemode": false,
"created": 1793700000,
"status": "clears",
"reasons": [
{
"code": "clear",
"message": "Cleared for this use."
}
],
"token": "signed clearance token, valid for one generation",
"athlete": {
"id": "ath_test_clears",
"name": "Rowan Hale"
},
"use": "ad",
"category": "Telecom",
"territory": "US",
"channel": "social",
"metadata": {}
}
POST/v1/quotes · Quote a licence
Request
curl -X POST https://www.valaritasports.com/v1/quotes \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"athlete":"ath_test_clears"}'
Response
{
"id": "quo_4b7e1a9c2d3f",
"object": "quote",
"livemode": false,
"created": 1793700000,
"status": "requires_qualification",
"athlete": {
"id": "ath_test_clears",
"name": "Rowan Hale"
},
"amount_cents": 1000000,
"currency": "usd",
"floor_ok": true,
"kind": "indicative",
"basis": {
"card": "rate-card-v1",
"tier": "C",
"base_cents": 1000000,
"multipliers": [],
"total_bps": 10000,
"floor_cents": 800000
},
"qualification": {
"status": "needs_info"
},
"ipm": {
"version": "ipm-value-v1",
"score": 508,
"pool_share_bps": 1429,
"api_call_cents": 5,
"reason": "Score 508 of 1000: 1M followers (engine base), 2% engagement (1.15x), creator (1x). Engine base used for audience, engagement, performance, attention, momentum, demand. 14.29% of a 7-athlete pool; 1 in track (scarcity 1.3x).",
"inputs_hash": "e932df09ad2850c706e4a3cf74fe9df2eaf63b272f51fb9d3a73faac19b89dc0"
},
"metadata": {}
}
Athlete value
GET/v1/athletes/ath_test_clears/value · Athlete value
Every price on Valaritas reads two numbers per athlete: a value score from 0 to 1000, and the athlete’s share of the roster pool in basis points (the pool always totals 10,000). Same inputs give the same numbers and the same inputs_hash. Inputs the engine has no data for use its base and are listed in base_used.
curl https://www.valaritasports.com/v1/athletes/ath_test_clears/value \ -H "Authorization: Bearer $VALARITAS_KEY"
Response
{
"object": "athlete_value",
"athlete": {
"id": "ath_test_clears",
"name": "Rowan Hale"
},
"livemode": false,
"version": "ipm-value-v1",
"score": 508,
"score_max": 1000,
"pool_share_bps": 1429,
"pool_size": 7,
"unit_prices": {
"fan_message": {
"amount_cents": 2504,
"currency": "usd"
},
"roast": {
"amount_cents": 1503,
"currency": "usd"
},
"training_monthly": {
"amount_cents": 1903,
"currency": "usd"
},
"brand_social_post": {
"amount_cents": 250794,
"currency": "usd"
},
"brand_campaign_market_month": {
"amount_cents": 2507943,
"currency": "usd"
},
"api_call": {
"amount_cents": 5,
"currency": "usd"
}
},
"reason": "Score 508 of 1000: 1M followers (engine base), 2% engagement (1.15x), creator (1x). Engine base used for audience, engagement, performance, attention, momentum, demand. 14.29% of a 7-athlete pool; 1 in track (scarcity 1.3x).",
"base_used": [
"audience",
"engagement",
"performance",
"attention",
"momentum",
"demand"
],
"inputs_hash": "e932df09ad2850c706e4a3cf74fe9df2eaf63b272f51fb9d3a73faac19b89dc0",
"updated": 1793700000
}
Pay per call over HTTP 402
An agent licenses an athlete in one request. No credential: the answer is 402 Payment Required with a WWW-Authenticate: Payment challenge per rail (card and Tempo). Pay, retry with Payment-Authorization, and the licence comes back with a signed receipt. Every ask is cleared against the athlete’s standing terms before any charge.
POST/v1/licenses · One line
curl -si -X POST https://www.valaritasports.com/v1/licenses -H "Authorization: Bearer vk_test_EXAMPLE" -H "Idempotency-Key: $(date +%s)$RANDOM" -H "Content-Type: application/json" -d '{"athlete":"ath_test_clears","use":"ad","category":"sportswear","territory":"US"}'
1. No credential: 402 and the payment challenge
HTTP/2 402
content-type: application/json; charset=utf-8
www-authenticate: Payment id="…", realm="www.valaritasports.com", method="stripe", intent="charge", request="…", description="Valaritas Rights API licence", header="Payment-Authorization", Payment id="…", realm="www.valaritasports.com", method="tempo", intent="charge", request="…", header="Payment-Authorization"
{
"error": {
"type": "invalid_request_error",
"code": "payment_required",
"param": null,
"message": "Payment required. Pay with a method in WWW-Authenticate, then retry with the Payment-Authorization header.",
"doc_url": "https://www.valaritasports.com/docs/api/errors#payment_required",
"request_id": "req_8bc836afa02c5e3bf4e2f2db"
}
}
2. Paid retry: 200 and the licence
{
"id": "lic_3f0e2948e325512ca98ca5d7",
"object": "license",
"livemode": false,
"created": 1795321928,
"status": "active",
"athlete": "ath_test_clears",
"use": "ad",
"category": "sportswear",
"territory": "US",
"term_months": 12,
"term_end": 1826425928,
"metadata": {}
}
3. The Valaritas-Receipt header, decoded: $10000.00, split by the fee schedule (athlete first), in integer cents
{
"receipt_id": "rcpt_0cf489bbd05db0f19e5f3781",
"athlete_id": "ath_test_clears",
"call": "licence",
"path": "/v1/licenses",
"amount_cents": 1000000,
"currency": "usd",
"method": "stripe",
"split": {
"schedule": "brand_deal",
"source": "fee_schedule_mirror",
"athlete_cents": 700000,
"agency_cents": 0,
"league_cents": 0,
"platform_cents": 300000,
"agency_bps": 0
}
}
4. The licence number (Valaritas-Licence-Number) is on record: anyone can check it, no key
curl -s "https://www.valaritasports.com/v1/licences/verify?id=LIC-2026-7QK3-M9TD"
{
"data": {
"object": "licence_verification",
"id": "LIC-2026-7QK3-M9TD",
"checked_at": "2026-11-22T16:00:00.000Z",
"valid": true,
"status": "active",
"source": "http_402",
"receipt": {
"athlete_id": "ath_test_clears",
"call": "licence",
"path": "/v1/licenses",
"issued_year": 2026,
"livemode": false,
"split_bps": {
"athlete": "<fee schedule bps>",
"platform": "<fee schedule bps>"
},
"algorithm": "HMAC-SHA256"
}
}
}
A changed or unknown number answers "status": "tampered" or "unknown", never active. POST /v1/licences/verify with the full Valaritas-Licence-Receipt body checks its signature.
MCP tools
Connect any MCP client to https://www.valaritasports.com/mcp (Streamable HTTP) with your key in Authorization: Bearer vk_test_…. Each tool is one call to the endpoint it wraps, with the same key, limits and request log. No tool can approve a licence for the athlete.
TOOLprice_athlete · Quote an athlete
Price one licence for an athlete and a use. Returns the quote from the Valaritas rate card (amount in integer cents, basis, qualification status) plus the explainable IPM v2.0 breakdown (base_rate, multipliers, athlete_payout_70, platform_fee_30, confidence_band). Wraps POST /v1/quotes.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"price_athlete","arguments":{"athlete":"ath_test_clears","term_months":12}}}'
TOOLcheck_clearance · Clear a brand brief
Check whether an athlete is cleared for a brand category, territory and channel. Returns cleared or blocked with the reason. An athlete who is not available always answers the same way. Wraps POST /v1/clearances.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"check_clearance","arguments":{"athlete":"ath_test_clears","use":"ad","category":"telecom","territory":"US","channel":"social"}}}'
TOOLrequest_license · Book a licence
Book a licence for an athlete, use, category and territory. Blocked categories and takedowns stay enforced. This tool cannot approve anything on the athlete's behalf. Wraps POST /v1/licenses.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"request_license","arguments":{"athlete":"ath_test_clears","use":"ad","category":"sportswear","territory":"US","term_months":12}}}'
TOOLget_approved_assets · List active licences
List the licences your organization holds, with their status, athlete, category, territory and term. Wraps GET /v1/licenses.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"get_approved_assets","arguments":{"limit":10}}}'
Store tools
For a Shopify store connected to your account. Pass the store's *.myshopify.com domain and an athlete id from list_store_athletes. Attach files a one-line brief; payment and delivery happen in the store admin, and only the athlete takes a licence down.
TOOLlist_store_athletes · List store athletes
List athletes a store can license, each with the store products cleared for their categories. Unavailable athletes and blocked categories are excluded. Wraps GET /v1/stores/{shop}/athletes.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":5,"method":"tools/call","params":{"name":"list_store_athletes","arguments":{"shop":"your-store.myshopify.com"}}}'
TOOLquote_athlete · Quote a store licence
Price one licence for an athlete and store products. Returns licence price, athlete share (70%), optional agency share (70/15/15 when agency is true), and brand fee. Files nothing. Wraps POST /v1/briefs/quote.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":6,"method":"tools/call","params":{"name":"quote_athlete","arguments":{"shop":"your-store.myshopify.com","athlete":"ath_example","product_ids":["gid://shopify/Product/1001"]}}}'
TOOLattach_athlete_to_product · Attach an athlete to products
Attach an athlete to store products. With brief_id, adds products to that brief; otherwise files a new one-line brief. Blocked categories and brand exclusions are refused with category_blocked. Wraps POST /v1/briefs.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":7,"method":"tools/call","params":{"name":"attach_athlete_to_product","arguments":{"shop":"your-store.myshopify.com","athlete":"ath_example","product_ids":["gid://shopify/Product/1001"],"line":"Game-day jersey."}}}'
TOOLcheck_product_clearance · Check a product
Check whether an athlete can appear with one store product right now. Answers cleared, or the refusal reason with reason_message: athlete_not_available, category_blocked, category_not_offered, or licence_taken_down. Wraps POST /v1/stores/{shop}/clearance.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":8,"method":"tools/call","params":{"name":"check_product_clearance","arguments":{"shop":"your-store.myshopify.com","athlete":"ath_example","product":"gid://shopify/Product/1001"}}}'
TOOLget_campaign · Get a campaign
Read one brief: licence state, charges with the split, signed receipt once paid, order usage, and delivered ad. Taken-down licences return no ad. Wraps GET /v1/briefs/brf_example.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":9,"method":"tools/call","params":{"name":"get_campaign","arguments":{"brief_id":"brf_example"}}}'
TOOLget_athlete_assets · Get an athlete's approved media
List servable media an athlete has approved for brands: their own real self-hosted photos with direct links. Nothing is generated. Wraps GET /v1/stores/{shop}/athletes/ath_example/assets.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":10,"method":"tools/call","params":{"name":"get_athlete_assets","arguments":{"shop":"your-store.myshopify.com","athlete":"ath_example"}}}'
TOOLsample_campaign · Sample a campaign
Render the photo-first campaign ad a brief would deliver, watermarked "Sample · not licensed", with usage specs. Files, charges and delivers nothing. Wraps GET /v1/briefs/brf_example/sample.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":11,"method":"tools/call","params":{"name":"sample_campaign","arguments":{"brief_id":"brf_example"}}}'
TOOLverify_receipt · Verify a signed receipt
Check a Valaritas receipt (a use receipt, payment receipt, or checkout receipt). Answers whether the Ed25519 signature is valid and whether Valaritas holds the receipt on record. Wraps POST /v1/receipts/verify.
curl -s -X POST https://www.valaritasports.com/mcp \
-H "Authorization: Bearer $VALARITAS_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":12,"method":"tools/call","params":{"name":"verify_receipt","arguments":{"receipt":{"id":"rcpt_example","object":"payment_receipt","payload":{},"signature":"paste the receipt exactly as it was issued"}}}}'
Reference
2026-11-02
Changelog
Test keys, hire requests, athletes, clearances, quotes, licence requests, events, signed webhooks, a test webhook inbox, signed per-use receipts (POST /v1/receipts/verify) the MCP server at /mcp with 12 tools, and per-licence billing: a booked quote returns its payment with a test-mode Stripe Checkout link. Athletes license by contract. Inside this version, changes are additive.