Skip to main content
GET
https://api.credprotocol.com
/
api
/
v2
/
reputation
/
{agent_id}
/
feedback
/
{submission_id}
curl -X GET "https://api.credprotocol.com/api/v2/reputation/18/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/reputation/18/feedback/550e8400-e29b-41d4-a716-446655440000",
  "context": {
    "model_version": "andromeda_1.0",
    "address_scored": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
    "score_range": "good"
  }
}

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

agent_id
integer
required
ERC-8004 agent ID. Must be >= 1.
submission_id
string
required
Submission UUID

Response

Returns the raw ERC-8004 feedback JSON document.
agentRegistry
string
CAIP-2 Identity Registry address
agentId
integer
Agent ID in the Identity Registry
clientAddress
string
CAIP-2 address of the feedback submitter (Cred Protocol’s wallet)
createdAt
string
ISO 8601 timestamp of when the feedback was created
value
integer
Feedback value (e.g., credit score)
valueDecimals
integer
Decimal places for the value
tag1
string
Feedback metric type (e.g., creditScore)
tag2
string
Provider identifier (credprotocol)
endpoint
string
URL to this feedback JSON endpoint
context
object
Cred-specific scoring context and details

Response Headers

HeaderDescription
X-Feedback-HashKECCAK-256 hash of the feedback JSON (matches on-chain feedbackHash)
X-Feedback-URIIPFS URI of the feedback document
Cache-Controlpublic, max-age=86400 (24 hour cache)
curl -X GET "https://api.credprotocol.com/api/v2/reputation/18/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/reputation/18/feedback/550e8400-e29b-41d4-a716-446655440000",
  "context": {
    "model_version": "andromeda_1.0",
    "address_scored": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
    "score_range": "good"
  }
}