curl --request POST \
--url https://api.aisa.one/apis/v1/bidnetdirect-com/public-tenders/list-agencies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"state_slug": "alaska"
}
'import requests
url = "https://api.aisa.one/apis/v1/bidnetdirect-com/public-tenders/list-agencies"
payload = { "state_slug": "alaska" }
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({state_slug: 'alaska'})
};
fetch('https://api.aisa.one/apis/v1/bidnetdirect-com/public-tenders/list-agencies', 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/bidnetdirect-com/public-tenders/list-agencies",
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([
'state_slug' => 'alaska'
]),
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/bidnetdirect-com/public-tenders/list-agencies"
payload := strings.NewReader("{\n \"state_slug\": \"alaska\"\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/bidnetdirect-com/public-tenders/list-agencies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"state_slug\": \"alaska\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bidnetdirect-com/public-tenders/list-agencies")
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 \"state_slug\": \"alaska\"\n}"
response = http.request(request)
puts response.read_body{
"agencies": [
{
"agency_slug": "fairbanksnorthstarborough",
"logo_url": "https://www.bidnetdirect.com/public/organizations/851919055/logofile/normal/851898359",
"name": "Fairbanks North Star Borough",
"organization_id": "851919055",
"state_slug": "alaska",
"url": "https://www.bidnetdirect.com/alaska/fairbanksnorthstarborough"
},
{
"agency_slug": "interiorgasutility",
"logo_url": "https://www.bidnetdirect.com/public/organizations/1876869247/logofile/normal/1877159312",
"name": "Interior Gas Utility",
"organization_id": "1876869247",
"state_slug": "alaska",
"url": "https://www.bidnetdirect.com/alaska/interiorgasutility"
}
],
"count": 2,
"observed_at_ms": 1791631975351,
"page_count": 1,
"purchasing_group": "Participating Local Government Agencies",
"purchasing_group_id": "845217101",
"source_url": "https://www.bidnetdirect.com/alaska/participating-buyers",
"state_slug": "alaska"
}List agencies
Enumerate the buyers (school districts, cities, counties, utilities) that publish through a state purchasing group.
curl --request POST \
--url https://api.aisa.one/apis/v1/bidnetdirect-com/public-tenders/list-agencies \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"state_slug": "alaska"
}
'import requests
url = "https://api.aisa.one/apis/v1/bidnetdirect-com/public-tenders/list-agencies"
payload = { "state_slug": "alaska" }
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({state_slug: 'alaska'})
};
fetch('https://api.aisa.one/apis/v1/bidnetdirect-com/public-tenders/list-agencies', 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/bidnetdirect-com/public-tenders/list-agencies",
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([
'state_slug' => 'alaska'
]),
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/bidnetdirect-com/public-tenders/list-agencies"
payload := strings.NewReader("{\n \"state_slug\": \"alaska\"\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/bidnetdirect-com/public-tenders/list-agencies")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"state_slug\": \"alaska\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bidnetdirect-com/public-tenders/list-agencies")
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 \"state_slug\": \"alaska\"\n}"
response = http.request(request)
puts response.read_body{
"agencies": [
{
"agency_slug": "fairbanksnorthstarborough",
"logo_url": "https://www.bidnetdirect.com/public/organizations/851919055/logofile/normal/851898359",
"name": "Fairbanks North Star Borough",
"organization_id": "851919055",
"state_slug": "alaska",
"url": "https://www.bidnetdirect.com/alaska/fairbanksnorthstarborough"
},
{
"agency_slug": "interiorgasutility",
"logo_url": "https://www.bidnetdirect.com/public/organizations/1876869247/logofile/normal/1877159312",
"name": "Interior Gas Utility",
"organization_id": "1876869247",
"state_slug": "alaska",
"url": "https://www.bidnetdirect.com/alaska/interiorgasutility"
}
],
"count": 2,
"observed_at_ms": 1791631975351,
"page_count": 1,
"purchasing_group": "Participating Local Government Agencies",
"purchasing_group_id": "845217101",
"source_url": "https://www.bidnetdirect.com/alaska/participating-buyers",
"state_slug": "alaska"
}Request contract
- Method and path: POST /apis/v1/bidnetdirect-com/public-tenders/list-agencies
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/bidnetdirect-com/public-tenders/list-agencies
{
"operationId": "bidnetdirect-com.public-tenders.list-agencies",
"method": "POST",
"path": "/apis/v1/bidnetdirect-com/public-tenders/list-agencies",
"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": {
"state_slug": "alaska"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"state_slug": {
"description": "State portal path prefix, e.g. `colorado`, `mitn`, `new-york`. Pattern: ^[A-Za-z0-9-]+$.",
"type": "string"
}
},
"required": [
"state_slug"
],
"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
Participating agencies of a BidNet purchasing group (state portal), from /{state_slug}/participating-buyers: organization id, name, agency slug, agency page URL and logo. The page shows 48 tiles; further pages are behind a CSRF-protected POST form and are not fetched, so page_count > 1 is reported as partial coverage. Slugs are the state portal path prefixes (colorado, mitn, new-york, ...). An unknown slug is not_found.
The response contains the tool result directly.
The provider identifies agencies as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
agency_slug | string | |
logo_url | string | |
name | string | |
organization_id | string | |
state_slug | string | |
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.