FoodBlock Developer Portal

Build on the food graph. 100+ endpoints across 17 categories — commerce, federation, agents, media, subscriptions, streaming, trust, identity. REST API, SDKs for four languages, and an MCP server for AI agents.

The primitive

Everything in FoodX is a FoodBlock: three fields, content-addressed by SHA-256. Users, products, orders, reviews, messages, certifications, agents — all the same structure.

block.json
{
  "type": "substance.product",
  "state": {
    "name": "Sourdough Loaf",
    "price": 4.50,
    "organic": true
  },
  "refs": {
    "author": "bk_a1b2c3d4..."
  }
}
// hash = SHA-256(canonical(type + state + refs))
actorplacesubstancetransformtransferobserve