{"uid":"cap_Wnneq8JGSxKgpFcyvUsEM","slug":"textkit-fnv-1a-hash-112d5340","name":"TextKit FNV-1a Hash","description":"General-purpose text, Unicode and date utilities for AI agents: homoglyph folding and spoofed-domain detection, Unicode script detection, NFC/NFD normalization, grapheme counting, date description (weekday, ISO week, quarter, leap year), business-day counting, slugify, FNV-1a hashing, Shannon entropy, string format detection (uuid, email, url, ipv4, jwt, iban), byte-encoding detection and human-readable byte sizes. Pay per request in USDC on Base via x402 - no signup, no API key, no KYC.","url":"https://textkit.johnaio281.workers.dev/api/tk/fnv-hash?utm_source=zero.xyz","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":["text"],"properties":{"text":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"length":5,"fnv1a32":"3617a694","fnv1a64":"a430d84680aabd0b"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_s_U54xDw4uZBnslmcAlV2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes FNV-1a 32-bit and 64-bit hash values for a given text string","exampleAgentPrompt":"What's the FNV-1a hash of the string 'hello'? I need both the 32-bit and 64-bit hex values.","exampleUseCases":[{"title":"Hash-based cache key generation","prompt":"Generate an FNV-1a hash for the string 'user:profile:42' so I can use it as a fast cache lookup key."},{"title":"String deduplication fingerprinting","prompt":"I need to fingerprint the text 'order-confirmation-email-template-v2' with FNV-1a to check for duplicates in my dataset."},{"title":"Consistent hash routing","prompt":"Compute the FNV-1a 32-bit hash of 'shard-partition-key-west-us' so I can use it for consistent hash ring routing."}],"resultDescription":"Returns a JSON object with the input string's character length, its FNV-1a 32-bit hash as a lowercase hex string, and its FNV-1a 64-bit hash as a lowercase hex string. Example: {\"length\":5,\"fnv1a32\":\"3617a694\",\"fnv1a64\":\"a430d84680aabd0b\"}.","failureModes":["Missing required 'text' query parameter returns an error","Empty string input may return zero-hash values","Extremely long strings may exceed query parameter length limits","Network or worker timeout for unusually large inputs"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic, non-cryptographic hash of a text string — particularly FNV-1a, which is popular for hash tables, cache keys, and consistent hashing. Ideal when you don't need cryptographic security (use SHA/MD5 for that) but want a well-known, compact 32-bit or 64-bit fingerprint. Also useful when you want both hash lengths in a single call and need no API key or signup overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:40:42.995Z","isFirstParty":false,"canonicalSlug":"textkit-fnv-1a-hash-112d5340"}