{"uid":"cap_IO1y5m9ricEPYyXXZfGIQ","slug":"irantools-fnv-1a-hash-2cd9cb80","name":"IranTools FNV-1a Hash","description":"Persian and Iranian utilities for AI agents, plus general text/Unicode tooling. Jalali (Solar Hijri) calendar conversion, Iranian national ID / SHEBA / bank card / postal code / economic code validation, province and city lookup, official public holidays, Persian text normalization, keyword extraction, sentence splitting, similarity, HTML stripping, RTL fixing, Unicode homoglyph folding, script detection, NFC/NFD normalization, grapheme counting, date description, business-day counting, slugify, FNV-1a hashing, Shannon entropy, format and encoding detection, byte sizes. Pay per call in USDC on Base via x402 - no signup, no API key, no KYC. The same tools are also exposed as MCP tools at /mcp.","url":"https://irantools.johnaio281.workers.dev/api/iran/fnv_hash?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_AkEoWXseAOKGoXRld6hPM","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 the FNV-1a (Fowler–Noll–Vo) hash of an input text string","exampleAgentPrompt":"Compute the FNV-1a hash of the text 'سلام دنیا' using IranTools.","exampleUseCases":[{"title":"Cache key generation for Persian text","prompt":"I need a fast hash to use as a cache key for this Persian string: 'جمهوری اسلامی ایران' — can you compute the FNV-1a hash for me?"},{"title":"Deduplication fingerprinting pipeline","prompt":"Hash this product description so I can fingerprint it for deduplication: 'این محصول با کیفیت بالا تولید شده است'."},{"title":"Bucket assignment for text sharding","prompt":"I'm sharding data by string hash — give me the FNV-1a hash of the string 'user_profile_tehran_42' so I can assign it to the right bucket."}],"resultDescription":"Returns a JSON object containing the FNV-1a hash value of the input text, typically as a numeric or hex digest representation suitable for use as a fingerprint, cache key, or checksum.","failureModes":["Missing required 'text' field returns a 400 or validation error","Empty string input may return hash of empty input or an error","Payment failure (402) if USDC balance is insufficient on Base","Network timeout on the Cloudflare Workers edge","Unexpected Unicode normalization differences affecting hash output"],"whenToPreferThis":"Choose this endpoint when you need a fast, non-cryptographic hash of a text string — especially Persian or Unicode text — and want a pay-per-call model with no API key or signup. Prefer it over SHA/MD5 when FNV-1a compatibility is specifically required (e.g. matching hashes produced by other FNV implementations). Useful in pipelines already using other IranTools endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:48.091Z","isFirstParty":false,"canonicalSlug":"irantools-fnv-1a-hash-2cd9cb80"}