canonical: https://jentic.com/apis/sciencebase.gov/sciencebase

# Sciencebase Gov USGS ScienceBase Catalog API

Jentic publishes the only available OpenAPI specification for USGS ScienceBase Catalog API, keeping it validated and agent-ready. The USGS ScienceBase Catalog API searches and reads the ScienceBase catalog, the U.S. Geological Survey's platform for scientific data releases, projects, and related records. It runs keyword searches with filter expressions such as parentId, ancestors, or systemType, sorts and pages the results, and returns items as JSON, CSV, or XML. It also fetches a single item by id, walks the item hierarchy by listing the children of a parent item, and reports usage metrics for an item over a date range.

## For AI agents

Search the USGS ScienceBase catalog by keyword and filter, read individual data items, browse child items under a parent, and pull usage metrics for an item.

## Scope

Does not upload files, create or edit catalog items, or serve live sensor readings. Use for searching and reading the USGS ScienceBase catalog only.

## Capabilities

- Search ScienceBase catalog items by keyword with q, then narrow with filter expressions such as systemType=Data Release
- Sort results by title, dateCreated, lastUpdated, or firstContact and page with max and offset
- Fetch the full record for one catalog item by itemId, trimmed to chosen fields
- Browse the catalog hierarchy by listing the child items of a parent item
- Pull usage metrics for an item between fromDate and toDate grouped by day, week, month, or year
- Return search results as JSON, CSV, or XML through the format parameter

## Use cases

### Research assistant agent finding USGS data releases

A research assistant agent answering an environmental science question needs authoritative USGS data, not a web search. Through Jentic it searches for 'search the ScienceBase catalog', loads the item search operation with its input schema, and queries by keyword with a systemType filter for data releases, while the bearer token is injected at call time. It then reads each matching item to cite the release.

Example prompt: GET /items with q set to 'groundwater', filter set to systemType=Data Release, sort set to lastUpdated, and format set to json, then GET `/item/{itemId}` for the top result

### Walking a project's item tree

A data librarian inventories everything filed under a ScienceBase project. Listing the children of the project's parent item returns the next level of the hierarchy, and repeating the call on each child walks the full tree. Paging uses max and offset, and CSV output feeds a spreadsheet directly.

Example prompt: GET `/items/{parentId}` for a project id with max set to 100 and format set to csv, then repeat for each returned child id

### Reporting data release usage

A program manager reports how often a published data release was accessed. The metrics operation returns usage for one item between a fromDate and toDate, grouped by day, week, month, or year, which drops into a quarterly impact report.

Example prompt: GET `/item/metrics/{itemId}` with fromDate 2026-07-01, toDate 2026-09-30, and timescale set to month

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/items` | Search catalog items |
| GET | `/item/{itemId}` | Get one catalog item |
| GET | `/items/{parentId}` | List child items of a parent |
| GET | `/item/metrics/{itemId}` | Get usage metrics for an item |

## Key resources

- **Catalog items** — ScienceBase records for data releases, projects, and related products, readable by id
- **Item hierarchy** — Parent and child relationships that organise items into projects and collections
- **Item metrics** — Usage metrics for an item over a date range and timescale

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 63 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 85 / 100
  - Developer Experience & Jentic Compatibility: 58 / 100
  - AI-Readiness & Agent Experience: 43 / 100
  - Agent Usability: 94 / 100
  - Security: 60 / 100
  - AI Discoverability: 78 / 100
- **View full report:** https://jentic.com/apis/sciencebase.gov/sciencebase/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring ScienceBase by hand means attaching a bearer token, learning its filter expression syntax and offset paging, and passing the required format parameter on every call. Through Jentic you install once, import ScienceBase from the API Directory, store the token once, and your agent calls it.
- **Permission scoping:** ScienceBase puts the item id in the URL path (`/item/{itemId}`, `/items/{parentId}`), so a rule can pin your agent to a specific item or one parent's children. You choose the operations it may call, so open-ended catalog search or usage metrics are not included unless you add them.
- **Credential handling:** Your ScienceBase token is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'find USGS data releases' or 'list items under a project', and Jentic returns the matching ScienceBase operation with its input schema, including the filter and format parameters.

## Related APIs

- **Regulations.gov API** — Federal rulemaking dockets and documents served through api.data.gov
- **DataCite REST API** — DOI metadata for research datasets across many repositories
- **OpenAlex API** — Open index of scholarly works and authors

## FAQ

### Why is there no official OpenAPI spec for USGS ScienceBase Catalog API?

The U.S. Geological Survey does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call USGS ScienceBase Catalog API via structured tooling. It is validated against the live API and kept up to date. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### What authentication does the USGS ScienceBase Catalog API use?

Per its OpenAPI spec, the USGS ScienceBase Catalog API authenticates with an HTTP bearer token in the Authorization header on all four operations. Through Jentic the token is stored by your own instance and attached to each call, so the agent never handles it.

### Can I filter ScienceBase searches to data releases only?

Yes. GET /items accepts a filter expression alongside the q keyword, for example systemType=Data Release, or parentId and ancestors filters to stay inside one collection. Results sort by title, dateCreated, lastUpdated, or firstContact, and the format parameter returns JSON, CSV, or XML.

### What are the rate limits for the USGS ScienceBase Catalog API?

The OpenAPI spec does not specify rate limits. It does bound page size through the max parameter on item search. Check https://www.sciencebase.gov for current usage guidance before running large harvests.

### Is there a ScienceBase MCP server?

You don't need an MCP server to give your agent ScienceBase. Jentic connects it directly from the API Directory: import it, store your credential once, and your agent calls the search, item, and metrics operations on demand without another server's tool definitions loaded into its context.

### How do I read a ScienceBase item through Jentic?

Search Jentic for 'get a ScienceBase item by id', load the GET `/item/{itemId}` operation, and call it with the item id and format set to json. Add the fields parameter to return only the fields the agent needs.

### Can I limit what my agent is allowed to do with the USGS ScienceBase Catalog API?

Yes. Write a rule that allows only GET `/items/{parentId}` for one project's parent id plus GET `/item/{itemId}`, so the agent can browse and read that collection but not run open-ended catalog searches or pull usage metrics. Every call it makes is logged.
