Developers

API and webhooks

Connect WebExtension.app to your own systems — or build your own extension on the same back end.

Authentication

The extensions and the app use OAuth 2.0 + PKCE with webextension.app/auth and never store a password · there are no API keys for outside systems yet — no route issues one · the token in the example is the access token PKCE returns (it lasts 1 hour)

curl https://webextension.app/api/v1/me/entitlements \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Rate limits and credits

Every caller20 requests/second · 300 requests/minute per client address
Credits100 free a month plus the credits of every PRO plan you hold, in one wallet
Over quotaHTTP 429 with a Retry-After header

The main endpoints

MethodPathWhat it doesUsed by
GET/v1/me/entitlementsThe current user’s entitlements, plan and credit balanceAll extensions
POST/v1/ai/translateContext-aware translation, with glossary supportimage-translator
POST/v1/ai/ocrHigh-resolution OCR in the cloud; locally it runs on WASMimage-translator · pdf-assistant
POST/v1/ai/askQuestions and answers over a document, with page citationspdf-assistant · web-notes
POST/v1/ai/rewriteRewrite text in a given tonetext-expander
POST/v1/commerce/compareMatch products and work out total landed costshopping-compare
GET/v1/commerce/couponsCoupons for a given domaincoupon-finder
POST/v1/leadsSave a lead, and enrich itcrm-capture · lead-finder
GET/v1/sync/:collectionFetch synced data: snippets · notes · profilesAll extensions
POST/v1/credits/consumeCharge credits idempotently, once per actionAll extensions

Webhook events

subscription.activatedA user started a plan, or a renewal succeeded
subscription.canceledA user cancelled a plan
credits.lowThe credit balance fell below the threshold you set
lead.createdA new lead arrived from CRM Capture or Lead Finder
price.droppedA tracked product reached your target price

The events as designed — nothing sends a webhook out yet.

SDKs and examples

Swagger / OpenAPIThe API reference, generated from the code itself, at the API’s /docs
Available
extension-coreThe core all 12 extensions share — in the repository, not published as a package
Not published
SDK (TypeScript · Python)There is no SDK yet — call the API over HTTP, as the Swagger document describes
Not yet
Start free, no card needed

Ready to let the browser do the work?

Free to install and usable the moment it lands, with nothing to sign up for. Take PRO on the extensions you really use, and cancel whenever you like.

Works in Chrome · Microsoft Edge · Firefox · Safari
Installed in 30 secondsAdd it to your browser and start using it. There is nothing to fill in.
The free plan never runs outAnything that runs on your own machine is unlimited, and costs no credits.
From $2.49 a monthPay for the extensions you use. There is no bundle you have to buy.
Ask for a refund within 14 daysCancel any time — request it from your account, and the team ends it at the payment channel (App Store or Google Play plans: in the store).