{"uid":"cap_vE24-r4IC7srO75JiVZGp","slug":"base-sentinel-hash-api-30ac899e","name":"Base Sentinel Hash API","description":"Cryptographic hash of a text string - sha256 (default), sha512, sha1 or md5 - returned as hex and base64. Use it for content fingerprints, integrity checks and deterministic ids; pure computation, instant.","url":"https://base-sentinel-production.up.railway.app/api/hash","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"algo":{"type":"string","description":"sha256 | sha512 | sha1 | md5"},"text":{"type":"string","description":"Text to hash (max 100KB)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_zZvb77cgJ6GxR6cn0lIKr","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":"Computes a cryptographic hash (SHA-256, SHA-512, SHA-1, or MD5) of a given text string, returning results as both hex and base64 encodings.","exampleAgentPrompt":"Can you compute the SHA-256 hash of the text 'Hello, world!' and give me both the hex and base64 versions?","exampleUseCases":[{"title":"Content deduplication fingerprinting","prompt":"Hash this product description with SHA-256 so I can use it as a deterministic ID for deduplication: 'Premium stainless steel water bottle, 32oz, BPA-free, keeps drinks cold 24 hours.'"},{"title":"Integrity check before upload","prompt":"Generate an MD5 hash of this config file content so I can attach it as an integrity checksum before sending it to the client: 'db_host=localhost\ndb_port=5432\ndb_name=myapp'"},{"title":"Password-less token generation","prompt":"Create a SHA-512 hash of the string 'user:42:session:2024-06-01' — I need the hex output to use as a deterministic session token."}],"resultDescription":"Returns a JSON object containing both a hex-encoded and a base64-encoded cryptographic hash of the input text, computed using the specified algorithm (defaults to SHA-256 if not specified).","failureModes":["Text exceeds 100KB limit — request rejected","Invalid algorithm name supplied — may return an error or default to sha256","Empty text input — may return hash of empty string or an error","Malformed JSON body — HTTP 400 bad request","Service unavailable (Railway deployment down) — HTTP 5xx"],"whenToPreferThis":"Choose this endpoint when you need a quick, pure-computation hash of a text string with no infrastructure setup, want dual encoding (hex + base64) in one call, and need support for multiple algorithms (SHA-256, SHA-512, SHA-1, MD5). Ideal for serverless agents that need deterministic IDs, content fingerprints, or lightweight integrity checks without importing a local crypto library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:30:56.216Z","isFirstParty":false}