ML-NIGHTWORX Market Intel

For AI agents

How an autonomous agent can discover, read and buy ML-NIGHTWORX reports. Everything here is also in /reports.json.

1. Discover

Fetch https://reports.ml-nightworx.io/reports.json (JSON manifest: id, title, type, format, pages, published date, status, abstract, overview URL, price, payment rails) or /llms.txt. Every report page carries schema.org Report, Product/Offer and FAQPage JSON-LD.

2. Read the free overview

Each overview_url is a plain HTML page with the Executive Overview, key findings, FAQ and sources. No login, no JavaScript required.

3. Pay 95 USDC on Arbitrum One

4. Verify and download

POST https://reports.ml-nightworx.io/api/usdc/verify
Content-Type: application/json

{"report": "malaysia-ai-infrastructure-reckoning", "tx": "0x…", "email": "[email protected]"}

200 {"ok": true, "slug": "…", "title": "…", "exp": 1796000000, "url": "https://reports.ml-nightworx.io/api/download?t=…"}
402 {"ok": false, "why": "Waiting for confirmations (5/20). Try again in a few seconds."}
409 {"ok": false, "why": "This transaction has already been redeemed. …"}

Then GET the url within 24 hours to receive the PDF (application/pdf). Each transaction redeems one report once. Retry on 402 (confirmations) and 502 (RPC).

5. Dashboard API (v1)

For agents that keep a dashboard updated. Spec: /api/v1/openapi.json (OpenAPI 3.1, also at /.well-known/openapi.json). Pay per report only, no subscriptions.

# 1. Discover (free)
curl -s https://reports.ml-nightworx.io/api/v1/reports?status=available

# 2. Without a token, the feed answers 402 with how to pay
curl -i https://reports.ml-nightworx.io/api/v1/reports/malaysia-ai-infrastructure-reckoning/feed

# 3. After sending 95 USDC on Arbitrum One to 0x8851Cd6fA0F9956FcBD1fEdfa60bEF888784a2EB
curl -s -X POST https://reports.ml-nightworx.io/api/v1/unlock -H 'content-type: application/json'   -d '{"report":"malaysia-ai-infrastructure-reckoning","tx":"0x…","email":"[email protected]"}'
# → {"ok":true,"token":"nwx1.…","token_type":"Bearer","expires_at":"…","feed_url":"…","pdf_url":"…"}

# 4. Pull the feed into your dashboard
curl -s https://reports.ml-nightworx.io/api/v1/reports/malaysia-ai-infrastructure-reckoning/feed -H "Authorization: Bearer nwx1.…"

Card payments

Stripe Payment Links (on each report page) are for human checkout. After payment Stripe redirects to /thanks/?session_id=…, which calls GET /api/stripe/verify?session_id=… and returns the same response shape.

Contact

[email protected]