Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaLead GenAvailable now

Openmart · Local business search

openmart/businesses/search

Find companies, people and contact details with Openmart · Local business search from Alexandria through one Spiral API key. Search Openmart's local business database by business type and location, one row per physical store: name, address, website, categories, ratings, and social links. Use companies/search for one row per brand. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

Up to $0.69836 per run.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
query requiredtext—

Type of business to find, 1 to 500 characters, such as hair salons.

limitnumber
1 to 100
10

Records per page, 1 to 100. Default 10. Each record returned costs 10 credits.

cursorlist—

Next page: the last row's cursor from the previous page, a two-item array [match_score (number), store_id (string)], such as [24.26, "store-a"]. match_score must be a JSON number, not a string. Omit for the first page.

locationJSON—

Location filters, each with a country, such as [{"country":"USA","state":"CA","city":"San Francisco"}].

estimate_totaltrue or false—

Wrap the page as {data, total_count} with an estimated match count.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "openmart/businesses/search",
    "input": {
      "query": "<query>"
    }
  }'

Frequently asked questions

How much does Openmart · Local business search cost?

Up to $0.69836 per run. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use Openmart · Local business search through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "openmart/businesses/search"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use Openmart · Local business search?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use Openmart · Local business search?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.