{"uid":"cap_fMK_L_Q0Ume_90Z_mso8g","slug":"api-thetrustlayer-xyz-b6d17f23","name":"TrustLayer ERC-8004 Agent Profile Lookup","description":"Agent profile lookup. Returns trust score, component breakdown, feedback counts, and metadata for any ERC-8004 agent.","url":"https://api.thetrustlayer.xyz/agent/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)"}}}},"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-12T01:55:14.523Z","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-11T06:26:06.499Z","scoreProfile":30,"feedbackCount":250,"scoreFeedback":24,"uniqueCallers":109,"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_5GMminCkR6xxhnHTwVVpS","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 the full trust score, component breakdown (profile, feedback, legitimacy), feedback counts, and metadata for any ERC-8004 registered agent by chain:id.","exampleAgentPrompt":"Can you look up the TrustLayer trust score and full profile breakdown for the on-chain agent with ID base:1378? I want to see its trust score, profile score, feedback score, legitimacy score, feedback count, and how many unique callers it has.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing: agent name, chain, agentId, trust score (0-100), component scores (scoreProfile, scoreFeedback, scoreLegitimacy), feedbackCount, uniqueCallers, agent description, and timestamps for when it was last scored and synced.","failureModes":["Invalid agentId format (not chain:id) returns 400 error","Agent not found in ERC-8004 registry returns 404","Payment not included or insufficient returns 402","Chain not supported returns error","Agent has no feedback data — scoreFeedback may be 0 or null","Stale data if lastSyncedAt is old — score may not reflect recent activity"],"whenToPreferThis":"Use this endpoint when you need a quick, low-cost ($0.001) trust score snapshot for a specific ERC-8004 agent by ID. Prefer this over the forensics or time-series endpoints when you only need the current score and basic metadata rather than deep Sybil analysis, historical trajectory, or reviewer-level forensics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:46:31.578Z","isFirstParty":false}