Digital Empire › API docs
v0 OpenAPI 3.1 contract for PixelProof, EntryProof, and TariffWatch endpoints. Machine-readable spec at /api/openapi.json. Agency-tier customers (M2, see PixelProof pricing) will get authenticated + higher-quota access; the v0 surface is public + rate-limited.
Docs viewer not loading? The raw OpenAPI 3.1 spec is at /api/openapi.json -- paste it into editor.swagger.io or Postman.
The v0 spec above is public + rate-limited. The /api/v1/* surface below is Bearer-authenticated, stable-contract, and enterprise-ready. Contact support@digitalempireholdings.com to request a beta API key. OpenAPI spec: /openapi.yaml (import into Postman).
https://enforceintel.comAuthorization: Bearer de_<your key>application/json requests + responses.401 missing/invalid key, 403 beta gate, 429 rate-limited, 5xx upstream failure./api/v1/tariffwatch/hts/lookupTariffWatchLook up one or more 10-digit HTS codes against the BIS-14 Section 232 derivative list. Returns hit / in-scope / adjacent status per code.
{
"codes": ["7601.10.6000", "7603.10.0000"]
}{
"results": [
{
"code": "7601.10.6000",
"hit": true,
"in_scope": true,
"status": "hit",
"adjacent_hits": []
}
]
}curl -X POST 'https://enforceintel.com/api/v1/tariffwatch/hts/lookup' \
-H 'Authorization: Bearer de_YOUR_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{ "codes": ["7601.10.6000", "7603.10.0000"] }'const res = await fetch('https://enforceintel.com/api/v1/tariffwatch/hts/lookup', {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + process.env.DE_API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify({
"codes": ["7601.10.6000", "7603.10.0000"]
})
});
const data = await res.json();
console.log(data);import os, requests
resp = requests.post(
'https://enforceintel.com/api/v1/tariffwatch/hts/lookup',
headers={
'Authorization': f"Bearer {os.environ['DE_API_KEY']}",
'Content-Type': 'application/json',
},
json={
"codes": ["7601.10.6000", "7603.10.0000"]
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())/api/v1/pixelproof/scanPixelProofScan a Shopify storefront for legacy Meta Pixel / GA4 / GTM code drift. Returns severity-tagged findings.
{
"url": "https://your-store.myshopify.com"
}{
"score": 87,
"findings": [
{ "rule_id": "meta_pixel_legacy_call", "severity": "warn", "message": "..." }
],
"severity_counts": { "info": 2, "warn": 1, "error": 0 }
}curl -X POST 'https://enforceintel.com/api/v1/pixelproof/scan' \
-H 'Authorization: Bearer de_YOUR_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{ "url": "https://your-store.myshopify.com" }'const res = await fetch('https://enforceintel.com/api/v1/pixelproof/scan', {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + process.env.DE_API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify({
"url": "https://your-store.myshopify.com"
})
});
const data = await res.json();
console.log(data);import os, requests
resp = requests.post(
'https://enforceintel.com/api/v1/pixelproof/scan',
headers={
'Authorization': f"Bearer {os.environ['DE_API_KEY']}",
'Content-Type': 'application/json',
},
json={
"url": "https://your-store.myshopify.com"
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())/api/v1/entryproof/gcc/generateEntryProofGenerate a General Certificate of Conformity (GCC) PDF for a CPSC-regulated product. Returns a signed URL.
{
"product_info": {
"name": "Widget",
"model": "W-100",
"sku": "SKU-001",
"date_of_manufacture": "2026-08-01",
"place_of_manufacture": "Shenzhen, CN"
},
"manufacturer": {
"name": "Acme Manufacturing Ltd",
"address": "123 Factory Rd",
"contact_email": "qa@acme.example"
},
"testing_lab": {
"name": "CPSC-Accredited Lab, Inc.",
"accreditation_id": "CPSC-LAB-4211",
"test_date": "2026-07-15"
},
"cpsc_rules_cited": ["16 CFR 1303", "ASTM F963"]
}{
"gcc_pdf_url": "https://digital-empire-app.vercel.app/api/entryproof/gcc/download/...pdf",
"gcc_id": "0e5c8f22-..."
}curl -X POST 'https://enforceintel.com/api/v1/entryproof/gcc/generate' \
-H 'Authorization: Bearer de_YOUR_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{ "product_info": { "name": "Widget", "model": "W-100", "sku": "SKU-001", "date_of_manufacture": "2026-08-01", "place_of_manufacture": "Shenzhen, CN" }, "manufacturer": { "name": "Acme Manufacturing Ltd", "address": "123 Factory Rd", "contact_email": "qa@acme.example" }, "testing_lab": { "name": "CPSC-Accredited Lab, Inc.", "accreditation_id": "CPSC-LAB-4211", "test_date": "2026-07-15" }, "cpsc_rules_cited": ["16 CFR 1303", "ASTM F963"] }'const res = await fetch('https://enforceintel.com/api/v1/entryproof/gcc/generate', {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + process.env.DE_API_KEY,
'Content-Type': 'application/json'
},
body: JSON.stringify({
"product_info": {
"name": "Widget",
"model": "W-100",
"sku": "SKU-001",
"date_of_manufacture": "2026-08-01",
"place_of_manufacture": "Shenzhen, CN"
},
"manufacturer": {
"name": "Acme Manufacturing Ltd",
"address": "123 Factory Rd",
"contact_email": "qa@acme.example"
},
"testing_lab": {
"name": "CPSC-Accredited Lab, Inc.",
"accreditation_id": "CPSC-LAB-4211",
"test_date": "2026-07-15"
},
"cpsc_rules_cited": ["16 CFR 1303", "ASTM F963"]
})
});
const data = await res.json();
console.log(data);import os, requests
resp = requests.post(
'https://enforceintel.com/api/v1/entryproof/gcc/generate',
headers={
'Authorization': f"Bearer {os.environ['DE_API_KEY']}",
'Content-Type': 'application/json',
},
json={
"product_info": {
"name": "Widget",
"model": "W-100",
"sku": "SKU-001",
"date_of_manufacture": "2026-08-01",
"place_of_manufacture": "Shenzhen, CN"
},
"manufacturer": {
"name": "Acme Manufacturing Ltd",
"address": "123 Factory Rd",
"contact_email": "qa@acme.example"
},
"testing_lab": {
"name": "CPSC-Accredited Lab, Inc.",
"accreditation_id": "CPSC-LAB-4211",
"test_date": "2026-07-15"
},
"cpsc_rules_cited": ["16 CFR 1303", "ASTM F963"]
},
timeout=30,
)
resp.raise_for_status()
print(resp.json())