{"uid":"cap_ri0lRv0__Bc9gQh_HdC_3","slug":"trustscore-dev-339ac1ff","name":"TrustScore Batch Scoring API","description":"Bulk trust scoring: check up to 25 phone numbers, crypto tokens, or property addresses in one call. Returns a 0-100 trust score, risk flags, and summary for each item. Built for fraud screening pipelines, compliance workflows, and agent batch checks covering phone spam, crypto rugpulls, and property fraud.","url":"https://trustscore.dev/api/batch-score","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","required":["type","input"],"properties":{"type":{"enum":["phone"],"type":"string"},"input":{"type":"object"}}},"maxItems":25}}},"responseSchema":null,"example":{"request":{"input":{"body":{"items":[{"type":"phone","input":{"number":"+14155551234"}},{"type":"phone","input":{"number":"+19175559876"}}]},"type":"http","method":"POST","bodyType":"json"}},"response":{"count":2,"results":[{"index":0,"result":{"_meta":{"type":"phone","sources":["libphonenumber"],"latency_ms":119},"score":70,"signals":{"e164":"+14155551234","valid":true,"region":"US","is_voip":false,"_sources":["libphonenumber"],"country_code":"1","phone_number":"+14155551234","national_format":"(415) 555-1234","phone_type_hint":"FIXED_LINE_OR_MOBILE"},"summary":"This number has a moderate trust score of 70/100 and warrants some caution. No risk flags were detected during analysis.","decision":"safe","confidence":0.35,"risk_flags":[]}},{"index":1,"result":{"_meta":{"type":"phone","sources":["libphonenumber"],"latency_ms":123},"score":70,"signals":{"e164":"+19175559876","valid":true,"region":"US","is_voip":false,"_sources":["libphonenumber"],"country_code":"1","phone_number":"+19175559876","national_format":"(917) 555-9876","phone_type_hint":"FIXED_LINE_OR_MOBILE"},"summary":"This number has a moderate trust score of 70/100 and warrants some caution. No risk flags were detected during analysis.","decision":"safe","confidence":0.35,"risk_flags":[]}}]}},"exampleRequest":{"items":[{"type":"phone","input":{"number":"+14155551234"}},{"type":"phone","input":{"number":"+19175559876"}}]},"tags":["x402"],"displayCostAmount":"0.3","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.3/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.3","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.3","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4N4N-PlqqSrhEWce8V1_6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.3","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Batch-scores up to 25 phone numbers, crypto tokens, or property addresses in one call, returning a 0–100 trust score, risk flags, and plain-English summary for each item.","exampleAgentPrompt":"Can you batch-score these 10 items for fraud risk — phone numbers +14155551234 and +19175559876, crypto tokens 0xabc123... and 0xdef456..., and property address 123 Main St, Austin TX — and give me a trust score, risk flags, and summary for each one?","exampleUseCases":null,"resultDescription":"For each submitted item, the agent receives a 0–100 trust score, a confidence level, a set of risk flags (e.g. 'spam', 'rugpull', 'deed fraud'), and a plain-English summary explaining why the item is considered risky or trustworthy. Results cover all three asset types in a single response.","failureModes":["Batch exceeds 25 items — returns 400 validation error","Invalid phone number format — item flagged as unscored or error returned","Unrecognized crypto token contract address — low confidence score or not-found error","Ambiguous property address with no geocoding match — item returned with low confidence","Payment failure (x402) — full request rejected before scoring begins","Mixed valid/invalid items — valid items scored, invalid items return per-item error objects"],"whenToPreferThis":"Use this endpoint when you need to screen multiple assets (phone numbers, crypto tokens, or property addresses) in a single API call rather than making individual requests. It is ideal for fraud screening pipelines, compliance batch jobs, and agent workflows where efficiency and cost per item matter. Prefer this over the single-item endpoint when processing 2–25 items at once.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:36:11.326Z","isFirstParty":false}