{"uid":"cap_F-w3N9ETYLRhRnJjXihtO","slug":"api-thetrustlayer-xyz-27e8734f","name":"TrustLayer Base Agent Trust Score (ERC-8004)","description":"Returns an ERC-8004-style trust score and metadata for a Base agent. Includes the agent ID, name, chain, component scores, and sync timestamps for the scored agent.","url":"https://api.thetrustlayer.xyz/score/base:1378","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["agentId"],"properties":{"agentId":{"type":"string","description":"Agent ID in chain:id format (e.g. base:1378, bsc:1629, ethereum:13446)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"agentId":"base:1378"}}},"response":{"name":"Gekko Rebalancer","chain":"base","agentId":"base:1378","scoredAt":"2026-06-18T05:22:11.217Z","trustScore":38,"description":"Portfolio rebalancing and drift management agent. Automatically detects allocation drift, calculates optimal rebalancing strategies, and executes rebalancing transactions to maintain target portfolio weights. Monitors APY changes, risk shifts, and market conditions to keep portfolios optimized on Base DeFi.","lastSyncedAt":"2026-06-17T06:17:11.348Z","scoreProfile":30,"scoreFeedback":24,"scoreLegitimacy":8}},"exampleRequest":{"agentId":"base:1378"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3WZapaLY01kTlr8JoqE5l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a 0–100 ERC-8004 trust score with component breakdown and metadata for a given on-chain agent ID on Base or other supported chains.","exampleAgentPrompt":"What's the TrustLayer trust score for the on-chain agent base:1378 — give me the full component breakdown too.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing a 0–100 trust score, a detailed component breakdown showing sub-scores (e.g. feedback quality, reviewer reputation, activity), and agent metadata such as chain, registry address, and identity fields from the ERC-8004 standard.","failureModes":["Invalid or malformed agent ID format (not chain:id) returns a 400 error","Agent ID not found in any indexed ERC-8004 registry returns a 404","Payment not provided or insufficient USDC results in 402 Payment Required","Unsupported chain prefix returns a validation error","Registry data temporarily unavailable returns a 503"],"whenToPreferThis":"Use this endpoint when you need a fast, lightweight trust score and basic metadata for a single on-chain agent and do not need full Sybil forensics or historical time-series data. It is ideal for pre-interaction checks, ranking agents, or displaying a trust badge. For deep Sybil detection, reviewer reputation weighting, or cross-chain identity resolution, prefer the /trust/ forensics endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:40.060Z","isFirstParty":false}