Sell Data

AIM Data gateway

AIM Data is a small open-source gateway you run with Docker on your own infrastructure. It lists your files where they are. Buyers download purchased files directly from your gateway, without routing file bytes through ai.market.

You choose what to describe

The gateway automatically sends generated file references, fingerprints made with a secret key, file sizes, formats, and timestamps. It uses a neutral name unless you choose a display name. After you confirm a file, the gateway sends a checksum of the file. For file formats it can summarize, it also sends the row count and the names and types of the columns you include. For each included column, it reports roughly how much is missing and a range for the number of different values. No data values go to ai.market in these messages. You can separately publish a public sample on your listing. The gateway sends delivery receipts and signed audit entries for every outbound message.

Locked down by design

The gateway container refuses to start as root or the wrong user, with a writable root filesystem, any capability, no-new-privileges off, a mounted socket, or access to the host network or process namespace. Images are signed and reproducible.

Network requirements

Buyers download files through one seller-controlled HTTPS delivery endpoint. ai.market also uses it for a signed reachability probe. For your own HTTPS setup, give the endpoint a stable, publicly reachable hostname and a valid TLS certificate for that hostname. Allow inbound TCP 443 through your firewall to your reverse proxy. The proxy terminates TLS and forwards requests to the gateway over private HTTP on port 8080. Keep 8080 private. Delivery requires no other public inbound ports.

Restrict outbound gateway access to api.ai.market:443 using an allowlisting proxy or firewall and restricted DNS. The gateway’s egress canary deliberately tests connections that must fail. If the canary reports open access, ai.market blocks publishing and new permissions.

Set up your gateway

In Sell Data, open Gateways and choose Add a gateway. You get a one-time pairing code and a Docker Compose file. Manage listings, prices, licences, and payouts on the website.

Set up a gateway

You’ll need a free ai.market account. After you sign up, allAI walks you through setting up the gateway.

The gateway source and image build are available on GitHub.