I made ApexNet, a free REST API that wraps my NimPacket library. The engine is pure Nim, compiled to a shared lib on the server. The API is FastAPI on top.
What it does: Send an HTTP request, get a crafted packet back. Parse raw hex into JSON. Upload PCAP files for stats and filtering. 42 endpoints, 10 protocols, no API key needed.
Try it ->
curl -X POST https://apexnet.onrender.com/api/craft/tcp/syn -H "Content-Type: application/json" -d '{"src_ip":"192.168.1.100","dst_ip":"10.0.0.1","src_port":54321,"dst_port":80}'
Swagger docs (interactive): https://apexnet.onrender.com/docs
Repos:
- NimPacket (the Nim engine): https://github.com/0x57Origin/NimPacket
- ApexNet (the API): https://github.com/0x57Origin/ApexNet
The whole stack is Nim doing the heavy lifting packet crafting, parsing, checksums, PCAP read/write, fragmentation all compiled native. Python just handles the HTTP layer.
Sorry again if it feels like spam but this will be the last update for a long while!