Skip to Main Content
Auditor-Controller/Treasurer/Tax-Collector Official Open Data Website. Visit our homepage

Search Datasets

Press ESC to close

API Documentation

Programmatic access to San Bernardino County's Open Data resources

San Bernardino County Logo

ATC Open Data API Platform

Our API provides programmatic access to public data resources including property tax information, tax rate area data, payment statistics, and public financial reports.

All API endpoints return JSON formatted responses and support standard query parameters for filtering, sorting, and pagination.

API Response Format

All API calls return JSON in the following structure:

{
  "success": true,
  "result": {
    // The actual data you requested
  },
  "help": "API documentation string"
}

CKAN Standard API

Dataset Search

Basic Search

Search all datasets:

https:///api/3/action/package_search

Search by title:

https:///api/3/action/package_search?q=title:finance

Advanced Filtering

Filter by multiple fields:

https:///api/3/action/package_search?fq=tags:"finance"+organization:"treasury"

Limit results and sort:

https:///api/3/action/package_search?q=budget&rows=10&sort=metadata_modified desc

Complex Query Examples

Datasets modified in last month with specific tag:

https:///api/3/action/package_search?fq=metadata_modified:[NOW-30DAY TO NOW]+tags:economy

Datasets from specific organization with format:

https:///api/3/action/package_search?fq=organization:finance-dept+res_format:CSV

Full-text search with multiple filters:

https:///api/3/action/package_search?q=budget&fq=tags:"2024"+res_format:JSON&sort=score desc

Dataset & Resource Access

Dataset Operations

Get dataset details:

https:///api/3/action/package_show?id=dataset-name

List all datasets:

https:///api/3/action/package_list

Resource Operations

Get resource details:

https:///api/3/action/resource_show?id=resource-id

Search resources:

https:///api/3/action/resource_search?query=name:data.csv

Organizations & Groups

Organization API

List all organizations:

https:///api/3/action/organization_list

Show organization details:

https:///api/3/action/organization_show?id=org-name&include_datasets=true

Group API

List all groups:

https:///api/3/action/group_list

Show group details:

https:///api/3/action/group_show?id=group-name&include_datasets=true

Tags & Categories

List all tags:

https:///api/3/action/tag_list

Search tags:

https:///api/3/action/tag_search?query=finance

Show tag details:

https:///api/3/action/tag_show?id=tag-name

ATC Data API Examples

Get first 10 rows of a dataset:

https:///atc-api/v1/{dataset-id}/getData?fromRow=0&limit=10

Filter by year 2024:

https:///atc-api/v1/{dataset-id}/getData?whereColumn=Roll_Yr&whereValue=2024&whereOperator=equal

Filter values greater than 100000:

https:///atc-api/v1/{dataset-id}/getData?whereColumn=Total_Value&whereValue=100000&whereOperator=greaterThan

Filter multiple values (IN operator):

https:///atc-api/v1/{dataset-id}/getData?whereColumn=Roll_Yr&whereValue=2023,2024,2025&whereOperator=IN

Sort by Total Value (highest first):

https:///atc-api/v1/{dataset-id}/getData?orderByColumn=Total_Value&orderDirection=DESC

Sort by Account Number (ascending):

https:///atc-api/v1/{dataset-id}/getData?orderByColumn=Account_Number&orderDirection=ASC

Filter 2024 data, sort by value, paginate:

https:///atc-api/v1/{dataset-id}/getData?whereColumn=Roll_Yr&whereValue=2024&whereOperator=equal&orderByColumn=Total_Value&orderDirection=DESC&fromRow=0&limit=50

Get high-value properties (> $500,000):

https:///atc-api/v1/{dataset-id}/getData?whereColumn=Total_Assessed_Value_New&whereValue=500000&whereOperator=greaterThan&orderByColumn=Total_Assessed_Value_New&orderDirection=DESC

Get column information (data dictionary):

https:///atc-api/v1/{dataset-id}/getDataDictionary

Get dataset information and statistics:

https:///atc-api/v1/{dataset-id}/getInfo

For complete documentation, see the CKAN

Official CKAN API Documentation (opens in new window)