curl --request POST \
--url https://api.aisa.one/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keywords": "cleaning",
"state": "Open"
}
'import requests
url = "https://api.aisa.one/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders"
payload = {
"keywords": "cleaning",
"state": "Open"
}
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({keywords: 'cleaning', state: 'Open'})
};
fetch('https://api.aisa.one/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders', 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-wa-gov-au/public-procurement-tenders-contracts/search-tenders",
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([
'keywords' => 'cleaning',
'state' => 'Open'
]),
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-wa-gov-au/public-procurement-tenders-contracts/search-tenders"
payload := strings.NewReader("{\n \"keywords\": \"cleaning\",\n \"state\": \"Open\"\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-wa-gov-au/public-procurement-tenders-contracts/search-tenders")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"keywords\": \"cleaning\",\n \"state\": \"Open\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders")
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 \"keywords\": \"cleaning\",\n \"state\": \"Open\"\n}"
response = http.request(request)
puts response.read_bodySearch tenders
To find tenders by keyword (e.g. cleaning), agency, region, state or date range. Ids for public_authority_id, issuing_business_id, region_id and pre_qualification_level_id come from lookups.
curl --request POST \
--url https://api.aisa.one/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keywords": "cleaning",
"state": "Open"
}
'import requests
url = "https://api.aisa.one/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders"
payload = {
"keywords": "cleaning",
"state": "Open"
}
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({keywords: 'cleaning', state: 'Open'})
};
fetch('https://api.aisa.one/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders', 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-wa-gov-au/public-procurement-tenders-contracts/search-tenders",
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([
'keywords' => 'cleaning',
'state' => 'Open'
]),
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-wa-gov-au/public-procurement-tenders-contracts/search-tenders"
payload := strings.NewReader("{\n \"keywords\": \"cleaning\",\n \"state\": \"Open\"\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-wa-gov-au/public-procurement-tenders-contracts/search-tenders")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"keywords\": \"cleaning\",\n \"state\": \"Open\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders")
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 \"keywords\": \"cleaning\",\n \"state\": \"Open\"\n}"
response = http.request(request)
puts response.read_bodyRequest contract
- Method and path: POST /apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders
{
"operationId": "tenders-wa-gov-au.public-procurement-tenders-contracts.search-tenders",
"method": "POST",
"path": "/apis/v1/tenders-wa-gov-au/public-procurement-tenders-contracts/search-tenders",
"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": {
"keywords": "cleaning",
"state": "Open"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"aboriginal_participation": {
"default": "any",
"description": "Aboriginal Procurement Policy participation filter (form field app).\n\nProvider reference: allowed values [\"any\", \"applicable\", \"not_applicable\"]; default \"any\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"any",
"applicable",
"not_applicable"
]
}
},
"awarded_date_from": {
"description": "dd/MM/yyyy Pattern: ^[0-9]{2}/[0-9]{2}/[0-9]{4}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"awarded_date_to": {
"description": "dd/MM/yyyy Pattern: ^[0-9]{2}/[0-9]{2}/[0-9]{4}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"closing_date_from": {
"description": "dd/MM/yyyy Pattern: ^[0-9]{2}/[0-9]{2}/[0-9]{4}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"closing_date_to": {
"description": "dd/MM/yyyy Pattern: ^[0-9]{2}/[0-9]{2}/[0-9]{4}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"dcsp": {
"default": "any",
"description": "Delivering Community Services in Partnership policy filter.\n\nProvider reference: allowed values [\"any\", \"applicable\", \"not_applicable\"]; default \"any\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"any",
"applicable",
"not_applicable"
]
}
},
"issuing_business_id": {
"description": "Issuing agency id from lookups(issuing_agencies); -1 or omitted = any.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"keywords": {
"description": "Keyword(s), max 50 characters as the form allows. Matched over request number, title and description.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"match": {
"default": "exact",
"description": "exact: the keywords as one phrase (form value exactMatch); any: any of the words (anyWord).\n\nProvider reference: allowed values [\"exact\", \"any\"]; default \"exact\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"exact",
"any"
]
}
},
"opening_date_from": {
"description": "dd/MM/yyyy Pattern: ^[0-9]{2}/[0-9]{2}/[0-9]{4}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"opening_date_to": {
"description": "dd/MM/yyyy Pattern: ^[0-9]{2}/[0-9]{2}/[0-9]{4}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"pre_qualification_level_id": {
"description": "Builder pre-qualification level id from lookups(pre_qualification_levels); -1 or omitted = any.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"public_authority_id": {
"description": "Public authority id from lookups(public_authorities); -1 or omitted = any.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"region_id": {
"description": "Region id from lookups(regions), e.g. 7 = Perth Metropolitan; -1 or omitted = any.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"state": {
"default": "Open",
"description": "Request state, using the form's own values (Open = Current, Early Advice = Future, NoOffsReceived = No Offers Received, AllOffsDeclined = All Offers Declined).\n\nProvider reference: allowed values [\"Open\", \"Early Advice\", \"Closed\", \"Awarded\", \"Withdrawn\", \"Shortlisted\", \"Expired\", \"NoOffsReceived\", \"AllOffsDeclined\"]; default \"Open\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"Open",
"Early Advice",
"Closed",
"Awarded",
"Withdrawn",
"Shortlisted",
"Expired",
"NoOffsReceived",
"AllOffsDeclined"
]
}
},
"tender_number": {
"description": "Request number filter (form field tenderCode).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"title": {
"description": "Title filter (form field tenderTitle).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"type": {
"default": "Any",
"description": "Request type, form values.\n\nProvider reference: allowed values [\"Any\", \"requestForTender\", \"expressionOfInterest\", \"earlytenderadvice\", \"draftforcomment\", \"unadvertisedClosedTender\", \"onlineQuote\"]; default \"Any\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"Any",
"requestForTender",
"expressionOfInterest",
"earlytenderadvice",
"draftforcomment",
"unadvertisedClosedTender",
"onlineQuote"
]
}
},
"unspsc_codes": {
"description": "Up to three UNSPSC codes (form fields unspscCode1..3).",
"items": {
"type": "string"
},
"type": "array",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"work_type": {
"default": "any",
"description": "goods = Goods & Services, works = Works.\n\nProvider reference: allowed values [\"any\", \"goods\", \"works\"]; default \"any\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"any",
"goods",
"works"
]
}
}
},
"type": "object"
}
}
},
"required": false
},
"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
Request state, using the form's own values (Open = Current, Early Advice = Future, NoOffsReceived = No Offers Received, AllOffsDeclined = All Offers Declined).
Provider reference: allowed values ["Open", "Early Advice", "Closed", "Awarded", "Withdrawn", "Shortlisted", "Expired", "NoOffsReceived", "AllOffsDeclined"]; default "Open".
Response
Advanced tender search (the site's do-advanced-tender-search form): keyword (exact phrase or any word) over title, number and description, request state (Open, Closed, Awarded, Early Advice, Withdrawn, Shortlisted, Expired, No Offers Received, All Offers Declined), request type, goods/works, request number, title, public authority and issuing agency ids, region id, up to three UNSPSC codes, opening / closing / awarded date ranges (dd/MM/yyyy), Aboriginal participation, DCSP and pre-qualification level. Rows have the same shape as list_tenders. The server returns everything matching in one page and prints a notice when it cut the list; that notice is returned as truncated (narrow the filters), there is no next page. An empty result is the site's own 'No results found.' notice.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
count | number | |
observed_at_ms | number | |
query | object | The filters as sent to the form (form field names and values), for the record. |
tenders | object[] | |
truncated | boolean | True when the site printed that the results were reduced because too many records matched. |
url | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.