# Ask a company's seller and get one exact offer back

Every company on Eli has a seller at its own address. Send a question, with an optional price limit, stock filter and delivery country, and get one offer built from the company's own data, with a tagged link to its checkout or signup. No key and no sign-in are needed.

Human-readable page: https://www.hireeli.io/docs/seller/api

## The ask address

```
GET  https://www.hireeli.io/s/{slug}/ask?q={question}&max_price={amount}&currency={EUR}&in_stock=1&ship_to={NL}&format=json|text
POST https://www.hireeli.io/s/{slug}/ask
     content-type: application/json
     { "question", "maxPrice": { "amountMinor", "currency" }, "inStockOnly", "shipTo" }
```

Replace {slug} with the company's storefront slug. The same slug serves its storefront files under /s/{slug}/, such as agents.md, llms.txt and the product feeds.

Both methods return the same answer. Use GET for a quick link and POST when the question is long.

## Query fields and body fields

- **q or question**: Required. The buyer's question in plain words, at most 300 characters. Emails and phone numbers are removed before it is stored.
- **max_price or maxPrice**: Optional. The highest price. In the query it is in normal units and needs currency next to it, so max_price=100 with currency=EUR means €100. In the body it is minor units with a currency, so 10000 with EUR means €100.
- **currency**: Optional, query only. Three capital letters, for example EUR. The body puts it inside maxPrice.
- **in_stock or inStockOnly**: Optional. 1 or true for products in stock only. Plans are always available.
- **ship_to or shipTo**: Optional. The two letter country code where the buyer wants delivery, for example NL.
- **format**: Optional, query only. json, the default, or text for the same offer as plain text.

## Ask with GET

```
curl "https://www.hireeli.io/s/acme-running/ask?q=trail%20running%20shoes&max_price=100&currency=EUR&in_stock=1&ship_to=NL"
```

For plain text, add format=text.

## Ask for plain text

```
curl "https://www.hireeli.io/s/acme-running/ask?q=trail%20running%20shoes&format=text"
```

The text version holds the same offer, the same facts and the same tagged link as the JSON.

## Ask with POST

```
curl -X POST "https://www.hireeli.io/s/acme-running/ask" \
  -H "content-type: application/json" \
  -d '{"question":"trail running shoes for wet ground","maxPrice":{"amountMinor":10000,"currency":"EUR"},"inStockOnly":true,"shipTo":"NL"}'
```

The body is JSON and at most 2 KB.

## The answer

```
{ "ok": true, "ref": string, "mode": "model" | "deterministic" | "cached", "offer": SellerOffer }
{ "ok": false, "reason": "off" | "not_found" | "no_match" | "limited" }
```

- **ok**: true when an offer came back, false when it did not.
- **ref**: The answer's reference, 12 lower case letters and digits. It is also in the tagged link.
- **mode**: model when a model wrote the sentence from the stored facts, deterministic when fixed rules wrote it, cached when the same question on the same catalog was answered before. The facts are the same in every mode.
- **offer**: The one offer, described field by field below.
- **reason**: Only when ok is false. off, not_found, no_match or limited, each explained in the error list.

## Example of a shop offer

```
{
  "ok": true,
  "ref": "k3v9q2m8x1ta",
  "mode": "deterministic",
  "offer": {
    "kind": "shop",
    "itemId": "trail-runner-2",
    "title": "Trail Runner 2",
    "price": {
      "amountMinor": 8995,
      "currency": "EUR"
    },
    "priceText": "89.95 EUR",
    "facts": [
      {
        "key": "price",
        "label": "Price",
        "text": "89.95 EUR",
        "source": "shopify",
        "at": "2026-11-20T08:12:00.000Z",
        "url": "https://shop.example.com/products/trail-runner-2"
      },
      {
        "key": "stock",
        "label": "Stock",
        "text": "In stock",
        "source": "shopify",
        "at": "2026-11-20T08:12:00.000Z",
        "url": "https://shop.example.com/products/trail-runner-2"
      },
      {
        "key": "delivery",
        "label": "Delivery",
        "text": "Delivery in 2 to 3 working days",
        "source": "owner",
        "at": "2026-11-18T10:00:00.000Z",
        "url": null
      },
      {
        "key": "ships_to",
        "label": "Ships to",
        "text": "NL, BE, DE",
        "source": "owner",
        "at": "2026-11-18T10:00:00.000Z",
        "url": null
      },
      {
        "key": "returns",
        "label": "Returns",
        "text": "30 days, free",
        "source": "site",
        "at": "2026-11-19T06:00:00.000Z",
        "url": "https://shop.example.com/policies/refund-policy"
      }
    ],
    "proof": [
      {
        "key": "rating",
        "text": "Rated 4.6 out of 5 by 212 buyers",
        "source": "shopify",
        "at": "2026-11-20T08:12:00.000Z",
        "url": "https://shop.example.com/products/trail-runner-2"
      }
    ],
    "link": "https://shop.example.com/products/trail-runner-2?src=eli-seller-k3v9q2m8x1ta&utm_source=eli-seller&utm_content=k3v9q2m8x1ta",
    "url": "https://shop.example.com/products/trail-runner-2",
    "asOf": "2026-11-18T10:00:00.000Z",
    "say": "Trail Runner 2 costs 89.95 EUR and it is in stock. Delivery in 2 to 3 working days.",
    "alternatives": [
      {
        "itemId": "trail-runner-2-gtx",
        "title": "Trail Runner 2 GTX",
        "priceText": "119.95 EUR",
        "link": "https://shop.example.com/products/trail-runner-2-gtx?src=eli-seller-k3v9q2m8x1ta&utm_source=eli-seller&utm_content=k3v9q2m8x1ta"
      }
    ]
  }
}
```

## Example of a SaaS offer

```
{
  "ok": true,
  "ref": "p7d2w4n9c6hb",
  "mode": "model",
  "offer": {
    "kind": "saas",
    "itemId": "team",
    "title": "Ledgerly Team",
    "price": {
      "amountMinor": 2900,
      "currency": "EUR"
    },
    "priceText": "29.00 EUR a month",
    "facts": [
      {
        "key": "price",
        "label": "Price",
        "text": "29.00 EUR a month",
        "source": "site",
        "at": "2026-11-20T07:30:00.000Z",
        "url": "https://ledgerly.example.com/pricing"
      },
      {
        "key": "interval",
        "label": "Billing",
        "text": "Billed monthly",
        "source": "site",
        "at": "2026-11-20T07:30:00.000Z",
        "url": "https://ledgerly.example.com/pricing"
      },
      {
        "key": "trial",
        "label": "Trial",
        "text": "14 days free, no card",
        "source": "site",
        "at": "2026-11-20T07:30:00.000Z",
        "url": "https://ledgerly.example.com/pricing"
      },
      {
        "key": "included",
        "label": "Included",
        "text": "Up to 10 users; Bank feeds; VAT returns",
        "source": "site",
        "at": "2026-11-20T07:30:00.000Z",
        "url": "https://ledgerly.example.com/pricing"
      },
      {
        "key": "limits",
        "label": "Limits",
        "text": "5,000 invoices a year",
        "source": "owner",
        "at": "2026-11-17T09:00:00.000Z",
        "url": null
      },
      {
        "key": "integrations",
        "label": "Works with",
        "text": "Stripe",
        "source": "site",
        "at": "2026-11-20T07:30:00.000Z",
        "url": "https://ledgerly.example.com/integrations"
      }
    ],
    "proof": [
      {
        "key": "customers",
        "text": "Used by 1,200 companies",
        "source": "site",
        "at": "2026-11-20T07:30:00.000Z",
        "url": "https://ledgerly.example.com/"
      }
    ],
    "link": "https://ledgerly.example.com/signup?plan=team&src=eli-seller-p7d2w4n9c6hb&utm_source=eli-seller&utm_content=p7d2w4n9c6hb",
    "url": "https://ledgerly.example.com/signup?plan=team",
    "asOf": "2026-11-17T09:00:00.000Z",
    "say": "Ledgerly Team is €29 a month for up to 10 users, with 14 days free and no card.",
    "alternatives": []
  }
}
```

## Every field of the offer

- **kind**: shop or saas.
- **itemId**: The product or plan id in the company's storefront. The same id works with get_item on the storefront tools.
- **title**: The product or plan name as the company shows it.
- **price**: The price in minor units with its currency, for example 8995 and EUR for €89.95. Null when the company shows no price.
- **priceText**: The same price as the company writes it, for example €29 a month. Null when there is no price.
- **facts**: The stated facts, each with key, label, text, source, at and an optional url. Read below.
- **proof**: Proof the company shows, each with key, text, source, at and an optional url. The key is rating, customers or certifications.
- **link**: The company's own buy or signup page with the seller's tag. Send the buyer here.
- **url**: The same page without the tag, as the company's record holds it.
- **asOf**: The oldest read time of all the values stated, as an ISO 8601 time. The offer is at least this fresh.
- **say**: One or two plain sentences that state the offer. Every number in it is copied from the facts.
- **alternatives**: Close options, each with itemId, title, priceText and link. Often empty.

## Facts, sources and read times

- **key**: One of price, sale_price, stock, delivery, ships_to, returns, trial, interval, included, limits, integrations, brand, condition, sso, api_access, compliance, data_region, sla, shipping, variants, specs.
- **label**: A short name for the fact, for people.
- **text**: The value, formatted from the company's record. Never written by a model.
- **source**: Where the value came from. shopify, woocommerce, wordpress, site (read from the company's public website) or owner (typed by the owner in Eli).
- **at**: When the value was read, as an ISO 8601 time.
- **url**: The page the value was read on, when known.

A shop offer mostly uses price, sale_price, stock, delivery, ships_to, returns, brand and condition. A SaaS offer mostly uses price, trial, interval, included, limits and integrations. A fact the company does not state is left out, never guessed.

## The get_offer tool on the storefront MCP server

```
{
  "type": "object",
  "properties": {
    "question": {
      "type": "string",
      "maxLength": 300
    },
    "max_price": {
      "type": "number",
      "minimum": 0
    },
    "currency": {
      "type": "string",
      "pattern": "^[A-Z]{3}$"
    },
    "in_stock_only": {
      "type": "boolean"
    },
    "ship_to": {
      "type": "string",
      "pattern": "^[A-Z]{2}$"
    }
  },
  "required": [
    "question"
  ],
  "additionalProperties": false
}
```

Each storefront is also an MCP server at https://www.hireeli.io/s/{slug}/mcp, over Streamable HTTP, stateless, one JSON-RPC message per POST, read-only, with no sign-in. It already has search_products or list_plans, get_item, compare_to_alternatives and how_to_buy. The seller adds get_offer, which returns the same offer as the ask address.

The input below is the tool's schema. max_price is in normal units, like the query.

## Calling get_offer with JSON-RPC

```
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list",
  "params": {}
}

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "get_offer",
    "arguments": {
      "question": "trail running shoes",
      "max_price": 100,
      "currency": "EUR",
      "in_stock_only": true,
      "ship_to": "NL"
    }
  }
}

curl -X POST "https://www.hireeli.io/s/acme-running/mcp" \
  -H "content-type: application/json" \
  -H "accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_offer","arguments":{"question":"trail running shoes","max_price":100}}}'
```

The result holds the offer as JSON text in its content, the same object as the offer field of the ask answer. When there is no offer, the result says why, with the same reasons as the ask address.

## Tagged links

```
https://shop.example.com/products/trail-runner-2
  ?src=eli-seller-{ref}
  &utm_source=eli-seller
  &utm_content={ref}
```

Every link the seller hands out is the company's own page with three tags added. The src tag is read by the Eli site tag on the company's site. The utm tags stay on a Shopify or WooCommerce order, so the order shows which answer sent the buyer.

A link that is not on the company's own site or a known checkout host is never tagged and never handed out. Keep the link as it is when you show it to the buyer.

## Limits and freshness

- **Per caller address**: 10 asks a minute.
- **Per company**: 120 asks a minute over all callers.
- **Per caller address a day**: 200 asks a UTC day.
- **Storefront MCP server**: 30 calls a minute per caller address and 600 per storefront.
- **Question**: At most 300 characters.
- **POST body**: At most 2 KB.
- **Freshness**: asOf is the oldest read time of the values in the offer. Show it, or ask again when it matters.

A limited answer comes with HTTP 429 and a Retry-After header in seconds.

## The rules every answer keeps

- Every number comes from the company's own data, with its source and read time.
- One price for everyone. No agent, place or visitor gets a different price.
- Nothing is hidden from people. What an agent reads, a person can read at the same address.
- The seller never takes payment. The company's own checkout or signup does.

## Errors

- **200 with ok false and reason no_match**: The company sells nothing that fits the question and its filters. Nothing is made up to fill the gap. Ask again with fewer words, a higher max price, without in stock only, or without a delivery country. Tell the buyer plainly when nothing fits.
- **404 with reason not_found**: No company has a published storefront at this slug. Check the slug in the address. A company's slug is in its storefront links, for example its agents.md or llms.txt under /s/{slug}/. Do not guess another slug.
- **404 with reason off**: The company has not switched its seller on for this place, or has stopped it. Eli can also stop every seller at once. Use the company's storefront files or its own website instead. Ask again later. Do not retry in a loop.
- **429 with reason limited**: Too many asks. The limit is 10 asks a minute and 200 a UTC day per caller address, and 120 a minute per company over all callers. Wait the number of seconds in the Retry-After header, then ask once more. Keep an answer you already have instead of asking the same question again.
- **413 body too large**: The POST body is over 2 KB. Nothing was read. Send only the four fields. A question is at most 300 characters.
- **400 bad input**: The request cannot be read. The question is missing, empty or over 300 characters, the body is not JSON, the price is not a number above zero, the currency is not three letters, or the delivery country is not two letters. Fix the field and send the request again. Nothing was stored.

- The full error list: https://www.hireeli.io/docs/agent-commerce-errors

## For the owner, available in r135

```
GET  /api/seller/settings          signed-in owner session
POST /api/seller/settings          signed-in owner session

GET  /api/v2/seller                API key, scope read
GET  /api/v2/seller-answers        API key, scope read
GET  /api/v2/seller-settings       API key, scope read
POST /api/v2/seller-settings       API key, scope write:own-site

MCP for owners (https://hireeli.io/api/mcp/mcp)
  eli_seller            read
  eli_seller_settings   write, previewed first, needs the owner's literal yes

settings = {
  "surfaces": { "mcp": boolean, "endpoint": boolean, "onsite": boolean, "ucp": boolean },
  "stopped": boolean,
  "tone": { "length": "short" | "normal", "formality": "plain" | "formal", "bannedWords": string[] },
  "maxPriceDropPct": integer 1 to 30 | null
}
A change needs "confirm": true; a stop needs nothing else.
maxPriceDropPct is how far Eli may lower a price in a proposal, 1 to 30 percent (null: none; 0 is refused).
```

The owner sets the seller on the Seller screen in the workspace, or from code and assistants with the interfaces below. Writes through an assistant are shown first and need the owner's literal yes.

- API keys and scopes: https://www.hireeli.io/docs/api

## Machine-readable reference

The ask address, the offer schema and the owner interfaces are in Eli's OpenAPI document. This page is also served as plain text.

- OpenAPI document: https://www.hireeli.io/openapi.json
- This page as plain text: https://www.hireeli.io/docs/seller/api.md

## Read next

- Your seller: https://www.hireeli.io/docs/seller (What the seller is, for owners.)
- Error list: https://www.hireeli.io/docs/agent-commerce-errors (Every answer code and what to do.)
- Agent standards: https://www.hireeli.io/docs/agent-standards (What is live and what waits.)
