All workflows

Evidence Pack

Build an auditable quote packet: verify exact quote presence, source hashes, character offsets and caller-declared freshness.

2 credits per call · $0.02 USDC with x402

Sample input

{
  "sources": [
    {
      "id": "s1",
      "url": "https://example.com",
      "text": "The Pro plan costs $25 per month."
    }
  ],
  "claims": [
    {
      "claim": "Pro is $25 monthly",
      "source_id": "s1",
      "quote": "$25 per month"
    }
  ]
}

Worked sample output

{
  "ok": true,
  "mode": "evidence_pack",
  "sources": [
    {
      "id": "s1",
      "url": "https://example.com/",
      "sha256": "e03b854ea32bb631569352ed4dfc3541a86da6ec8f82fd1415398f1536fb63dd",
      "fetched_at": null
    }
  ],
  "claims": [
    {
      "index": 0,
      "claim": "Pro is $25 monthly",
      "source_id": "s1",
      "quote": "$25 per month",
      "quote_found": true,
      "start_utf16": 19,
      "end_utf16": 32,
      "source_sha256": "e03b854ea32bb631569352ed4dfc3541a86da6ec8f82fd1415398f1536fb63dd",
      "freshness": "unknown",
      "declared_age_seconds": null,
      "verdict": "quote_present"
    }
  ],
  "all_quotes_found": true,
  "pack_sha256": "d104f0d764836b0d6a48dd53e2a10f4b806d8b4738bcb2512a4e0b3b3125d66e",
  "limitations": [
    "Checks exact quotation presence in caller-supplied source text, not claim entailment or truth. URLs and timestamps are caller supplied; source authenticity is not independently verified."
  ]
}

Worked example using published sample data only. Own-data execution is paid.

Connect in curl

Set BOUNTY_API_KEY privately after your payment is verified. Change the retry key for each new logical request.

curl 'https://bounty-engineer-x402-prod.onrender.com/v1/prepaid/evidence-pack' \
  -H "Authorization: Bearer $BOUNTY_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: workflow-request-001' \
  -H 'X-Max-Credits: 2' \
  --data '{"sources":[{"id":"s1","url":"https://example.com","text":"The Pro plan costs $25 per month."}],"claims":[{"claim":"Pro is $25 monthly","source_id":"s1","quote":"$25 per month"}]}'

Connect in n8n

Download the inactive n8n template. Import it, configure the private Header Auth credential, inspect the sample and run it manually. A new execution creates a new billable request; there is no automatic schedule.

Use an HTTP POST to https://bounty-engineer-x402-prod.onrender.com/v1/prepaid/evidence-pack. Send JSON and these headers; store the Bearer token as a private credential.

{
  "method": "POST",
  "headers": {
    "Authorization": "Bearer YOUR_PRIVATE_API_KEY",
    "Content-Type": "application/json",
    "Idempotency-Key": "UNIQUE_PER_LOGICAL_REQUEST",
    "X-Max-Credits": "2"
  },
  "body": {
    "sources": [
      {
        "id": "s1",
        "url": "https://example.com",
        "text": "The Pro plan costs $25 per month."
      }
    ],
    "claims": [
      {
        "claim": "Pro is $25 monthly",
        "source_id": "s1",
        "quote": "$25 per month"
      }
    ]
  }
}

Reuse a retry key only for the same input. Failed execution returns reserved credits. Full integration and recovery guide · Machine-readable recipe