Testing guide

How to try the API before paying or before writing anything.


No key at all

These answer without any credential, so you can explore the catalogue first:

curl "https://api.opedd.com/api?action=search&q=semiconductors&limit=5"
curl "https://api.opedd.com/publisher-directory?min_articles=1"
curl "https://api.opedd.com/lookup-article?url=https://example.com/some-article"
curl "https://api.opedd.com/api?action=platform_pricing"
curl "https://api.opedd.com/status"

Buyers: a free sandbox token

curl -X POST https://api.opedd.com/enterprise-auth \
  -H "Content-Type: application/json" \
  -d '{"action": "create_sandbox", "buyer_email": "[email protected]", "buyer_org": "Your Company"}'

The answer carries sandbox_token (starts with opedd_buyer_test_) and expires_at. The token lasts 30 days. You can create 3 per email address per day, so keep reusing the same one.

Fetch an article with it. Sandbox answers carry the first 500 characters of the text and the same fields a paid answer has:

curl "https://api.opedd.com/content-delivery?article_id=<uuid>" \
  -H "Authorization: Bearer opedd_buyer_test_..."

Article ids come from search, the publisher directory or lookup-article.


Buyers: 3 free answers

A new buyer account's first 3 answers are free, so you can try POST /search for real before adding a card: sign up at opedd.com/buyer/signup and ask a question with the API key you get. See the AI buyer guide. The sandbox token above covers GET /content-delivery only.


Publishers: check a batch without saving it

Add ?validate=true (or "dry_run": true) to the ingest call: every check runs and nothing is saved. See testing a batch in the publisher guide.


Real payments

Purchases on api.opedd.com are live and charge real cards. There is no test-card mode on the production API.

Questions: [email protected]