Publisher Ingestion API

Cryptographically sign and index content streams directly into the Silversparre ledger.

Authentication

All requests must include the X-API-Key header. Contact api@silversparre.net for access.

Endpoints

POST /api/v1/publishers/ingest

Submit a content item for verification and signing.

curl -X POST https://api.silversparre.net/api/v1/publishers/ingest \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/article/123",
    "title": "Global Summit Results",
    "hash": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
  }'

GET /api/v1/publishers/status/{id}

Check the ledger status of a submitted item.

{
  "id": "123",
  "status": "VERIFIED",
  "ledger_tx": "0x123abc...",
  "risk_score": 0.05
}