https://www.brainiac.software/api/v1/public-infrastructure/ip-to-asn-lookup$0.02 USDCMap IP or prefix to origin ASN
Longest-prefix match against a vendored RouteViews BGP snapshot, with IANA special-purpose flags.
Body
| Field | Required | Notes |
|---|---|---|
ip | No | string |
prefix | No | string |
Request exampleJSON
{
"ip": "8.8.8.8"
}Response exampleJSON
{
"query": "8.8.8.8",
"matched": {
"prefix": "8.8.8.0/24",
"origins": [
{
"asn": 15169,
"peers": 17
}
],
"moas": false
},
"covering": [
{
"prefix": "8.0.0.0/12",
"origins": [
{
"asn": 3356,
"peers": 16
}
]
}
],
"snapshot": {
"collector": "route-views2",
"ribTime": "2026-11-14T00:00:00Z"
},
"attribution": "RouteViews, University of Oregon (CC BY 4.0)",
"sources": [
{
"source": "RouteViews RIB snapshot (CC BY 4.0)",
"url": "https://www.routeviews.org/routeviews/",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"One collector's view at ribTime."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/public-infrastructure/ip-to-asn-lookup" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"ip": "8.8.8.8"
}
JSONhttps://www.brainiac.software/api/v1/public-infrastructure/iana-tld-rdap-bootstrap$0.01 USDCIANA RDAP bootstrap lookup
Return IANA RDAP base URLs for a domain, IP or ASN from the vendored bootstrap registries.
Body
| Field | Required | Notes |
|---|---|---|
domain | No | string |
ip | No | string |
asn | No | — |
full | No | string; One of: dns, ipv4, ipv6, asn |
Request exampleJSON
{
"asn": 15169
}Response exampleJSON
{
"query": "AS15169",
"type": "asn",
"entry": {
"key": "13312-15359",
"rdapBaseUrls": [
"https://rdap.arin.net/registry/"
],
"rir": "ARIN"
},
"publication": "2026-06-01T20:00:01Z",
"sources": [
{
"source": "IANA RDAP bootstrap asn.json (CC0)",
"url": "https://data.iana.org/rdap/asn.json",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"No RDAP query is made."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/public-infrastructure/iana-tld-rdap-bootstrap" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asn": 15169
}
JSONhttps://www.brainiac.software/api/v1/public-infrastructure/travel-advisory-lookup$0.02 USDCUS and UK travel advisory lookup
Return State Department and FCDO travel advice for a country side by side.
Body
| Field | Required | Notes |
|---|---|---|
country | Yes | string |
Request exampleJSON
{
"country": "Ukraine"
}Response exampleJSON
{
"country": "Ukraine",
"us": {
"level": 4,
"label": "Do Not Travel",
"title": "Ukraine - Level 4: Do Not Travel"
},
"uk": {
"name": "Ukraine",
"slug": "ukraine",
"alertStatus": [
"avoid_all_travel_to_parts"
]
},
"sources": [
{
"source": "US State Department travel advisories RSS",
"url": "https://travel.state.gov/_res/rss/TAsTWs.xml",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Not travel, insurance or legal advice."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/public-infrastructure/travel-advisory-lookup" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"country": "Ukraine"
}
JSONhttps://www.brainiac.software/api/v1/public-infrastructure/visa-waiver-list-lookup$0.01 USDCUS VWP and UK visa-national list lookup
Check whether a nationality appears on the DHS Visa Waiver Program or UK VN 1.1(a) lists.
Body
| Field | Required | Notes |
|---|---|---|
nationality | Yes | string |
list | No | string; One of: us-vwp, uk-visa-national, both; Default: "both" |
Request exampleJSON
{
"nationality": "United Kingdom"
}Response exampleJSON
{
"nationality": "United Kingdom",
"usVwp": {
"listed": true,
"since": "1988-07-01",
"pageUpdated": "2026-10-28"
},
"ukVisaNational": {
"listed": false,
"rule": "VN 1.1(a)",
"updated": "2026-03-05"
},
"sources": [
{
"source": "DHS Visa Waiver Program",
"url": "https://www.dhs.gov/visa-waiver-program",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Not a visa determination."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/public-infrastructure/visa-waiver-list-lookup" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"nationality": "United Kingdom"
}
JSONhttps://www.brainiac.software/api/v1/public-infrastructure/ofsted-rating-lookup$0.02 USDCOfsted school rating lookup
Look up the latest Ofsted inspection outcomes for a state-funded school in England.
Body
| Field | Required | Notes |
|---|---|---|
urn | No | string |
laestab | No | string |
name | No | string |
localAuthority | No | string |
postcode | No | string |
limit | No | integer; Default: 25 |
Request exampleJSON
{
"urn": "137083"
}Response exampleJSON
{
"schools": [
{
"urn": "137083",
"name": "Abbey Grange Church of England Academy",
"phase": "Secondary",
"localAuthority": "Leeds",
"postcode": "LS16 5EA"
}
],
"asAt": "2026-10-31",
"sources": [
{
"source": "Ofsted management information (OGL v3.0)",
"url": "https://www.gov.uk/government/statistical-data-sets/monthly-management-information-ofsteds-school-inspections-outcomes",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Independent schools are not in this file."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/public-infrastructure/ofsted-rating-lookup" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"urn": "137083"
}
JSONhttps://www.brainiac.software/api/v1/public-infrastructure/college-scorecard-lookup$0.02 USDCUS College Scorecard lookup
Look up cost, admission, completion, earnings and debt fields from the College Scorecard.
Body
| Field | Required | Notes |
|---|---|---|
unitId | No | string |
opeId | No | string |
name | No | string |
state | No | string |
limit | No | integer; Default: 25 |
Request exampleJSON
{
"unitId": "166027"
}Response exampleJSON
{
"institutions": [
{
"unitId": "166027",
"name": "Harvard University",
"city": "Cambridge",
"state": "MA",
"control": "Private nonprofit"
}
],
"dataUpdated": "2026-11-02",
"sources": [
{
"source": "College Scorecard Most-Recent-Cohorts-Institution (CC BY)",
"url": "https://collegescorecard.ed.gov/data/",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Metrics refer to different cohorts/years."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/public-infrastructure/college-scorecard-lookup" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"unitId": "166027"
}
JSONhttps://www.brainiac.software/api/v1/public-infrastructure/grants-gov-opportunity-search$0.03 USDCSearch open Grants.gov opportunities
Search open US federal grant synopses and forecasts from the Grants.gov daily extract.
Body
| Field | Required | Notes |
|---|---|---|
query | No | string |
opportunityNumber | No | string |
agencyCode | No | string |
cfda | No | string |
eligibleApplicants | No | array; Array |
kind | No | array; Array |
closingBefore | No | string |
limit | No | integer; Default: 20 |
Request exampleJSON
{
"opportunityNumber": "14-579"
}Response exampleJSON
{
"count": 1,
"opportunities": [
{
"opportunityId": "358403",
"opportunityNumber": "14-579",
"title": "Facilitating Research at Primarily Undergraduate Institutions: (RUI and ROA-PUI)",
"agencyCode": "NSF"
}
],
"extractDate": "2026-11-14",
"sources": [
{
"source": "Grants.gov XML extract (public domain)",
"url": "https://www.grants.gov/xml-extract",
"retrievedAt": "2026-11-14",
"status": "ok"
}
],
"limitations": [
"Only open opportunities from the extract date are vendored."
]
}cURL
curl -i -X POST "https://www.brainiac.software/api/v1/public-infrastructure/grants-gov-opportunity-search" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"opportunityNumber": "14-579"
}
JSON