{"uid":"cap_-k8rleY5fkcg2g7jz_TUw","slug":"trustlayer-agent-history-c7848efa","name":"TrustLayer Agent History","description":"Reputation intelligence for the autonomous agent economy. Trust scores, Sybil detection, and cross-chain identity for 130,000+ ERC-8004 agents across 20 chains. Powered by x402 micropayments.","url":"https://api.thetrustlayer.xyz/history/%7BagentId%7D","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":{"type":"json","example":{"agentId":"base:1378","dataPoints":30,"trajectory":{"7d":3,"30d":-5},"volatility":4.2}},"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"agentId":"base:1378"}}},"response":{"note":"Agent not found in our index.","chain":"base","found":false,"agentId":"base:{agentId}","snapshots":[],"dataPoints":0,"trajectory":{"7d":null,"30d":null},"volatility":null}},"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_cmhGz3fqe9NDxYCJ2BSy2","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 historical reputation data points and score trajectory for a specific ERC-8004 agent, given its chain:id identifier.","exampleAgentPrompt":"Pull up the reputation history for agent base:1378 — I want to see how its trust score has trended over the last 30 days and how volatile it's been before I decide whether to work with it.","exampleUseCases":[{"title":"Vetting agent partners before collaboration","prompt":"Check the reputation trajectory for agent ethereum:4521 — has it been consistently reliable, or has its trust score been all over the place? I need to know if it's stable enough for us to integrate it into our workflow."},{"title":"Detecting reputation manipulation or decline","prompt":"Pull the historical reputation data for agent polygon:892 and show me the volatility score. I want to see if there's been any sudden drops or erratic behavior that might indicate the agent is compromised or degrading."},{"title":"Comparing agent stability across transactions","prompt":"Give me the 7-day and 30-day reputation trends for agent arbitrum:2104 so I can see if its trust score is improving, staying flat, or tanking. This'll help me decide if we should keep routing transactions through it."}],"resultDescription":"A JSON object containing the agentId, total number of reputation data points, a trajectory object with 7-day and 30-day score deltas (positive or negative), and a volatility score indicating how erratic the agent's reputation has been.","failureModes":["Invalid agentId format (not chain:id) returns 400 or empty result","Unknown agentId with no indexed history returns empty data points","Unsupported chain prefix returns error or null response","Payment failure via x402 micropayment blocks request with 402","Rate limiting may apply if micropayment is not processed correctly"],"whenToPreferThis":"Use this endpoint when you need the longitudinal reputation history and score trend for a single specific agent identified by its chain:id (e.g. base:1378), rather than a snapshot trust score, reviewer quality, or owner portfolio. Ideal for evaluating whether an agent's reputation is stable, improving, or declining before initiating a transaction or collaboration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:30:02.816Z","isFirstParty":false}