# Etimad tenders (tenders.etimad.sa) · Search tenders

Search public records with Etimad tenders (tenders.etimad.sa) · Search tenders from Alexandria through one Spiral API key. To find tenders by keyword/filters or to resolve a 12-digit reference number to its tender_id_string before calling get_tender. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Public Records
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `tenders-etimad-sa/public-procurement-tenders/search_tenders`
- Page: https://spiral.ai/tools/alexandria/tenders-etimad-sa/public-procurement-tenders/search_tenders

## Pricing

$0.00873 per call.

## Limits

- 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

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `page` | number | 1 to … | 1 | 1-based page number. The response reports the total and the runner's `next_cursor` carries the next page number. |
| `sort` | one of | submission_date, offers_opening_date | submission_date | Sort key. |
| `query` | text |  | — | Free-text keyword (MultipleSearch): matched against tender name, number, agency. |
| `area_ids` | list |  | — | Region ids from list_lookups kind=regions (TenderAreasIdString). |
| `category` | one of | 0, 2, 3, 4, 5, 6, 8 | — | TenderCategory: 0 all, 2 active/open, 3 enquiries stage, 4 offers stage, 5 opening stage, 6 awarded, 8 finished. Omitted = the site's default (all). |
| `page_size` | number | 1 to 24 | 12 | Rows per page, 1-24 (the server caps every page at 24 rows). |
| `activity_id` | number | 1 to … | — | Main activity id from list_lookups kind=activities. |
| `agency_code` | text |  | — | 12-digit agency code from list_lookups kind=agencies. Pattern: ^[0-9]{12}$. |
| `tender_number` | text |  | — | Agency tender number (TenderNumber). |
| `sort_direction` | one of | asc, desc | desc | sort_direction |
| `tender_type_id` | number | 1 to … | — | Tender type id from list_lookups kind=tender_types (1 = منافسة عامة / public tender). |
| `sub_activity_id` | number | 1 to … | — | Sub-activity id from list_lookups kind=sub_activities. |
| `published_within` | one of | 1, 2, 3, 4, 5 | 1 | PublishDateId: 1 any time (default here), 2 last two days, 3 last week, 4 last month, 5 last three months (the site's own UI default). |
| `reference_number` | text |  | — | Exact 10-12 digit reference number. Pattern: ^[0-9]{10,12}$. |
| `booklet_price_range` | number | 0 to 6 | — | ConditionaBookletRange band 0-6 as offered by the site's price filter. |

## Example

```bash
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": "tenders-etimad-sa/public-procurement-tenders/search_tenders",
    "input": {
      "page": 1
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=tenders-etimad-sa%2Fpublic-procurement-tenders%2Fsearch_tenders

## Common questions

### Etimad tenders (tenders.etimad.sa) · Search tenders

**How much does Etimad tenders (tenders.etimad.sa) · Search tenders cost?**

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

**How do I use Etimad tenders (tenders.etimad.sa) · Search tenders through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "tenders-etimad-sa/public-procurement-tenders/search_tenders"` 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 Etimad tenders (tenders.etimad.sa) · Search tenders?**

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

**Can my AI agent use Etimad tenders (tenders.etimad.sa) · Search tenders?**

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

