Phygit API
Developer Documentation
Integrate EU DPP verification, factory authentication, and AI-powered matching into your platform. All endpoints return JSON.
https://phygit.itglobalonline.comFormat: All responses are JSON · UTF-8 encoded
Authentication: Public endpoints require no auth. Factory-write endpoints require Sanctum token.
1. Get DPP Data
Retrieve the full EU Digital Product Passport for any product by NFC tag UID
Returns the complete EU Digital Product Passport for a product identified by its NFC tag UID. Includes supply chain events, blockchain verification status, fiber composition, certifications, and manufacturer details.
| Parameter | Type | Required | Description |
|---|---|---|---|
| uid | string | Required | NFC tag UID (e.g. DEMO-TAG-001). Case-insensitive. |
curl https://phygit.itglobalonline.com/api/dpp/DEMO-TAG-001
// Loading live data...
2. Factory Reputation Score
Get a factory's verified reputation score and compliance metrics
Returns the factory's aggregated reputation score calculated from on-chain transactions, EU DPP compliance records, and supply chain verification events.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | integer | Required | Factory ID from the Phygit registry (e.g. 1) |
curl https://phygit.itglobalonline.com/api/factory/1/reputation
{
"factory_id": 1,
"factory_name": "Apex Weaving Mills Ltd",
"score": 87,
"grade": "A",
"on_chain_events": 14,
"dpp_issued": 3,
"certifications": ["GOTS", "OEKO-TEX"],
"verified": true
}
3. AI Factory Matching
Submit an RFQ and get AI-matched factory recommendations
Submit a Request for Quotation (RFQ) and receive AI-powered factory matches from the Phygit verified registry. Powered by Claude (Anthropic). Returns ranked matches with scores and contact information.
| Field | Type | Required | Description |
|---|---|---|---|
| rfq | string | Required | Natural language description of what you need (e.g. "organic cotton shirts for EU") |
| quantity | integer | Optional | Order quantity in units |
| certifications | array | Optional | Required certifications: "GOTS", "OEKO-TEX", "ISO9001" |
curl -X POST https://phygit.itglobalonline.com/api/marketplace/match \ -H "Content-Type: application/json" \ -d '{ "rfq": "organic cotton shirts for EU", "quantity": 50000, "certifications": ["GOTS"] }'
{
"matches": [
{
"factory_id": 1,
"name": "Apex Weaving Mills Ltd",
"score": 94,
"reason": "GOTS certified, 15yr export experience, EU DPP active",
"certifications": ["GOTS", "OEKO-TEX"],
"location": "Dhaka, Bangladesh"
}
],
"rfq_summary": "Organic cotton shirts for EU, qty 50,000, GOTS required",
"model": "claude-3-5-sonnet"
}
4. Platform Statistics
Live counts from the Phygit network database
Returns live aggregate statistics from the Phygit platform database. Useful for dashboards, embeds, and partner integrations.
curl https://phygit.itglobalonline.com/api/stats
// Loading live data...
5. Rate Limits
All API keys are metered monthly. Exceeding limits returns HTTP 429.
| Tier | Plan | NFC Scans/mo | DPP Certs/mo | API Calls/mo |
|---|---|---|---|---|
| Tier 1 | Starter | 5,000 | 500 | 1,000 |
| Tier 2 | Growth | 50,000 | 5,000 | 10,000 |
| Tier 3 | Enterprise | Unlimited | Unlimited | Unlimited |
6. Webhook Events
Configure your webhook URL in the admin panel. Phygit sends a POST with JSON payload on these events:
order.paid
Customer completes payment via bKash, Nagad, Stripe or cash.
cert.issued
New EU DPP certificate is generated for a product.
scan.verified
NFC tag scanned and product verified on blockchain.
tag.assigned
NFC tag linked to a product in the dashboard.
7. Custom Domain Setup
Point your own domain to your Phygit shop (Tier 2+). We handle SSL automatically via Let's Encrypt.
- Go to your domain registrar (GoDaddy, Namecheap, Cloudflare, etc.)
- Add a CNAME record:
shop.yourbrand.com → phygit.itglobalonline.com - In your Phygit brand editor, enter
shop.yourbrand.comin the Custom Domain field - Wait up to 24h for DNS propagation
- SSL certificate is auto-issued — your domain is live over HTTPS ✅
8. White-Label Branding Guide
Customize every visible element of your brand's customer-facing pages.
9. Bangladesh Payment Guide
Three mobile payment methods + Stripe + Cash QR — all configured in your admin panel.
10. Pricing
NFC stickers sold separately — from $0.02 (NTAG215) to $1.20 (NTAG424). All plans include onboarding support.
11. Support
🔒 Authentication — Factory write operations (mint, assign, register) require a Sanctum token obtained via POST /api/login.
📧 Support — admin@itglobalonline.com
🏢 IT Global LLC · QFC Licence #03131 · Qatar Financial Centre