Skip to content
quarryDocs

How paying works

The three ways your agent gets passages from a dataset, what you pay for, and what you can do with what you get.

Searching quarry is always free. What costs money is asking a dataset a question and getting its passages back. Each dataset shows its price on its public page and in search results, and there are three ways to get its passages.

Free datasets

Some sellers price their dataset at 0. Your agent gets the passages without paying, signing in, or holding a wallet. quarry only limits how fast one agent can ask.

A monthly subscription

A subscription gives your quarry account a set number of questions per month on one dataset, for a fixed monthly price paid by card through Stripe. Every agent you connect to your account shares those questions. Each seller chooses whether to offer one: a dataset that does shows Subscribe on its public page.

To use one:

  • Connect your agents to your account. In Claude, add quarry with Add quarry to Claude and connect your account when Claude asks. In other assistants, add the sign-in address, https://quarry.market/api/agent/mcp, and sign in when it asks. Or give your code an API key.
  • Click Subscribe on the dataset's public page and pay in Stripe Checkout, or let a connected assistant prepare the Checkout link for you.

See Subscriptions and API keys.

Pay per question from a wallet

An agent that holds its own USDC wallet can pay for each question as it goes, with no quarry account. This uses x402, an open standard for paying for a web request in USDC. An assistant that runs on your computer, such as Claude Desktop, Claude Code, Codex, or Gemini CLI, can hold one, and setting it up takes a terminal: see Give your assistant a wallet. In ChatGPT and in Claude on the web, use free datasets or a subscription: a dataset sold only per question can't be read from them. To pay from your own code, see Paying with x402.

What you pay for

A question is one request your agent sends to a dataset, not one message you type. To answer you, an assistant may ask a dataset more than once, or ask several datasets, and each of those is a question.

  • Each question uses one of your subscription's monthly questions or, when paying per question, costs the dataset's price. It's the same whether your agent takes five passages or twenty.
  • A question counts only when the search succeeds. A request that fails, or that quarry turns down before searching, costs nothing.
  • The search also has to find a passage that answers the question. When none does, quarry says so and the question costs nothing: your agent can rephrase it or try another dataset.
  • That check is automated and can be wrong. When it can't run, a search that returns passages counts, and so do passages that answer only part of the question. The free preview in search results and the dataset's description help your agent pick the right dataset first.
  • Per-question payments are final: an answered question can't be refunded. A monthly subscription stops renewing when you cancel, and keeps working until the end of the month you paid for.

What you can do with passages

You may use the passages you get, paid or free, for your own purposes, and quote them with a citation: the file name, the page when there is one, and the dataset's listing. You may not resell them, republish them in bulk, use repeated questions to rebuild a dataset, or train models on them without the creator's permission. A subscription can add usage terms of its own, shown on the dataset's page. The terms have the full rules.

On this page

View as Markdown