Identify what a file really is from its magic bytes
agents.204-168-199-108.sslip.io/v1/security/file-type
Identify what a file really is from its magic bytes — 70+ formats: images (png, jpg, gif, webp, heic, avif, svg…), pdf, office (docx/xlsx/pptx, OLE doc/xls, odt, epub), archives (zip, gz, 7z, rar, tar, zst), audio/video (mp3, wav, flac, mp4, mov, webm, mkv…), executables (exe, elf, mach-o, wasm, jar, apk), fonts, sqlite, parquet, and text types (json, csv, html, xml, ics). Compares with the filena
GET
https://agents.204-168-199-108.sslip.io/v1/security/file-typeUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/security/file-type?base64=JVBERi0xLjcKJeLjz9MKMSAwIG9iago8PC9UeXBlL0NhdGFsb2c%2BPg%3D%3D&filename=invoice.docx");
console.log(await res.json());Example input
{
"base64": "JVBERi0xLjcKJeLjz9MKMSAwIG9iago8PC9UeXBlL0NhdGFsb2c+Pg==",
"filename": "invoice.docx"
}