curl --request POST \
--url https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "regions"
}
'import requests
url = "https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups"
payload = { "kind": "regions" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({kind: 'regions'})
};
fetch('https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'kind' => 'regions'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups"
payload := strings.NewReader("{\n \"kind\": \"regions\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"kind\": \"regions\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"kind\": \"regions\"\n}"
response = http.request(request)
puts response.read_bodyList lookups
To get valid ids for search_tenders, search_announcements, search_prequalifications and search_future_projects filters, or to map an id back to its label.
curl --request POST \
--url https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"kind": "regions"
}
'import requests
url = "https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups"
payload = { "kind": "regions" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({kind: 'regions'})
};
fetch('https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'kind' => 'regions'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups"
payload := strings.NewReader("{\n \"kind\": \"regions\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"kind\": \"regions\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"kind\": \"regions\"\n}"
response = http.request(request)
puts response.read_bodyRequest contract
- Method and path: POST /apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups
{
"operationId": "tenders-etimad-sa.public-procurement-tenders.list-lookups",
"method": "POST",
"path": "/apis/v1/tenders-etimad-sa/public-procurement-tenders/list-lookups",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"kind": "regions"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"activity_id": {
"description": "Required for kind=sub_activities: the main activity id.\n\nProvider reference: minimum 1.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"min": 1
}
},
"kind": {
"description": "kind\n\nProvider reference: allowed values [\"regions\", \"activities\", \"sub_activities\", \"agencies\", \"tender_types\", \"announcement_types\"].",
"type": "string"
},
"limit": {
"description": "Maximum items to return (default: all; agencies default 200).\n\nProvider reference: minimum 1; maximum 5000.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 5000,
"min": 1
}
},
"query": {
"description": "Case-insensitive substring filter on the label (applied locally).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"required": [
"kind"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
Filter vocabularies behind the Etimad visitor search: regions (13 Saudi regions), activities (main activities), sub_activities (needs activity_id), agencies (about 1,800 government agencies with their 12-digit codes; use query to narrow), tender_types (13 types) and announcement_types (direct purchase, limited tender). Ids are returned as strings exactly as the site uses them. Arabic labels only (the site has no English names).
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
count | number | |
items | object[] | |
kind | string | |
observed_at_ms | number | |
source_url | string | |
total | number | Items the site returned before query/limit. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.