Documentation Index
Fetch the complete documentation index at: https://docs.credprotocol.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Serves the ERC-8004 off-chain feedback JSON document for a completed reputation submission. This URL is stored on-chain as the endpoint parameter in giveFeedback, allowing anyone to verify the full feedback details.
This is a public endpoint — no authentication required. Responses are cached for 24 hours.
Path Parameters
ERC-8004 agent ID. Must be >= 1.
Response
Returns the raw ERC-8004 feedback JSON document.
CAIP-2 Identity Registry address
Agent ID in the Identity Registry
CAIP-2 address of the feedback submitter (Cred Protocol’s wallet)
ISO 8601 timestamp of when the feedback was created
Feedback value (e.g., credit score)
Decimal places for the value
Feedback metric type (e.g., creditScore)
Provider identifier (credprotocol)
URL to this feedback JSON endpoint
Cred-specific scoring context and details
| Header | Description |
|---|
X-Feedback-Hash | KECCAK-256 hash of the feedback JSON (matches on-chain feedbackHash) |
X-Feedback-URI | IPFS URI of the feedback document |
Cache-Control | public, max-age=86400 (24 hour cache) |
curl -X GET "https://api.credprotocol.com/api/v2/agents/18/reputation/feedback/550e8400-e29b-41d4-a716-446655440000"
{
"agentRegistry": "eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
"agentId": 18,
"clientAddress": "eip155:8453:0x1234567890abcdef1234567890abcdef12345678",
"createdAt": "2026-02-27T15:30:00Z",
"value": 782,
"valueDecimals": 0,
"tag1": "creditScore",
"tag2": "credprotocol",
"endpoint": "https://api.credprotocol.com/api/v2/agents/18/reputation/feedback/550e8400-e29b-41d4-a716-446655440000",
"context": {
"model_version": "andromeda_1.0",
"address_scored": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"score_range": "good"
}
}