Decode IAB TCF v2 TC string API
Decode an IAB Europe TCF v2.x transparency and consent string into purposes, vendors and publisher restrictions.
The Decode IAB TCF v2 TC string operation is part of the Web Technology Fingerprinting Retire.js TCF API on BRAINIAC.software. Decode an IAB Europe TCF v2.x transparency and consent string into purposes, vendors and publisher restrictions. It is exposed as POST /api/v1/web-technology/tcf-consent-string-decode and priced at $0.03 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: webappanalyzer technology rules (GPL-3.0) vendored in src/data/web-technology/ Retire.js jsrepository-v4.json (Apache-2.0) uap-core regexes (Apache-2.0), crawler-user-agents (MIT), Googlebot IP ranges (CC BY 4.0), Open Cookie Database (Apache-2.0) Limitations: No live page fetch: callers supply HTML, headers, cookies and scripts. DOM and JS-variable technology patterns are skipped (no browser). GPL-3.0 technology rules: see src/data/web-technology/LICENSES.md if redistributing. Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determinations. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Detect web technologies, JS library vulnerability detect, Analytics tag inventory, Ecommerce platform detect. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/web-technology/tcf-consent-string-decodeExample request
curl -i -X POST "https://www.brainiac.software/api/v1/web-technology/tcf-consent-string-decode" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"tcString": "CPXxRfAPXxRfAAfKABENB-CgAAAAAAAAAAYgAAAAAAAA"
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Detect web technologies — $0.04 USDC
- JS library vulnerability detect — $0.04 USDC
- Analytics tag inventory — $0.02 USDC
- Ecommerce platform detect — $0.03 USDC
Related APIs
Web Technology Fingerprinting Retire.js TCF APIFull docsHow it works