Skip to content

License my data

Say "license the full dataset for $12,000 a year" and get an Offer whose license says what the buyer may do with the records.

For developers

A data license is an Offer whose terms say what a buyer may do with the records: use them, show them, or resell them. The price follows the rights.

For developers

Needs Sell my data · Open a bank account

What you get

  • 1Offer with a redistribution license at $12,000 a yearOffer
  • 1license terms on the Offer’s page and in each buyer’s AgreementAgreement
  • 1weekly bulk file in the buyer’s PortalFile
  • 1attribution line every buyer shows with the recordsOffer

Your agent does

Offer.create → Offer.publish
You, to your agent

License the full renewal dataset for $12,000 a year.

Let a buyer resell our records.

Sell a redistribution license.

# 1. Offer.create
OFFER=$(curl -X POST https://api.sb/leaseline.app/offers \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"price":{"amount":12000,"currency":"USD"},"interval":"year","license":"redistribute","attribution":"Renewal data from Leaseline","terms":"Yearly, billed in advance. Weekly bulk delivery. Records may be resold inside your own product, with the attribution line."}' | jq -r '.offer["$id"] | split("/") | last')

# 2. Offer.publish
curl -X POST https://api.sb/leaseline.app/offers/$OFFER/publish \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
import { $ } from 'startup-builder'

const offer = await $.Offer.create({ price: { amount: 12000, currency: 'USD' }, interval: 'year', license: 'redistribute', attribution: 'Renewal data from Leaseline', terms: 'Yearly, billed in advance. Weekly bulk delivery. Records may be resold inside your own product, with the attribution line.' })
await $.Offer.publish({ offer: offer.$id })
OFFER=$(npx startup-builder do Offer.create --json '{"price":{"amount":12000,"currency":"USD"},"interval":"year","license":"redistribute","attribution":"Renewal data from Leaseline","terms":"Yearly, billed in advance. Weekly bulk delivery. Records may be resold inside your own product, with the attribution line."}' | jq -r '.offer["$id"] | split("/") | last')
npx startup-builder do Offer.publish --json '{"offer":"'"$OFFER"'"}'
{
  "name": "do",
  "arguments": {
    "code": "const offer = await $.Offer.create({ price: { amount: 12000, currency: 'USD' }, interval: 'year', license: 'redistribute', attribution: 'Renewal data from Leaseline', terms: 'Yearly, billed in advance. Weekly bulk delivery. Records may be resold inside your own product, with the attribution line.' })\nreturn await $.Offer.publish({ offer: offer.$id })"
  }
}

Change it

  • Make it private to one buyer.
  • Add a display license at $3,000 a year.
  • Deliver to their warehouse every Monday.

Under the hood

Systems
Datasets, Billing
Nouns
Offer, Dataset, Agreement
Events
Offer.created, Offer.published
Stripe objects
Product, Price