canonical: https://jentic.com/apis/api-v3.mojepanstwo.pl/mojepanstwo

# Api V3 Mojepanstwo Pl MojePanstwo API

MojePanstwo API provides read-only access to Polish public and government open datasets. It searches and lists records within a named dataset and retrieves a single record by its identifier. Query parameters filter and paginate results, so an agent can page through a dataset or look up a specific entity. Because it is a public data API, it exposes civic and administrative information without any write operations.

## For AI agents

Search Polish public datasets and retrieve individual records by identifier from the MojePanstwo open-data service.

## Scope

Read-only access to Polish public datasets. Does not write, update, or delete data, and does not cover datasets outside the MojePanstwo service.

## Capabilities

- Search and list records within a named public dataset
- Filter and paginate dataset results with query parameters
- Retrieve a single dataset record by its identifier

## Use cases

### Query Polish Public Datasets

A civic-data agent searches a named MojePanstwo dataset for records matching a query, then pages through the results. It calls the dataset listing operation with filter and pagination parameters and reads the returned records. Through Jentic the agent finds the dataset operation and calls it directly without constructing the request by hand.

Example prompt: Search a named dataset with a filter and return the matching records

### Fetch a Specific Record

After finding a record in a search, an agent retrieves its full detail by identifier. It calls the single-record operation for the dataset and record id and reads the complete object. This lets a workflow drill from a list into one entity.

Example prompt: Retrieve the full detail of a record given its dataset and identifier

### Civic Data Enrichment

An agent enriches an internal record with Polish public data, such as details about a public entity. It searches the relevant dataset and pulls the matching record to append official fields. Because the data is public, no credentials are needed to include it in a pipeline.

Example prompt: Search a dataset for an entity and append its public fields to an internal record

## Key resources

- **Datasets** — Named collections of Polish public records queryable by filter and pagination
- **Records** — Individual dataset objects retrievable by identifier

## Why Jentic

- **Setup:** Wiring MojePanstwo by hand means constructing dataset requests against api-v3.mojepanstwo.pl and parsing its responses yourself. Through Jentic you install once, import MojePanstwo from the API Directory, and your agent calls it.
- **Permission scoping:** MojePanstwo exposes read-only dataset operations, so a rule limits your agent to just those operations. You choose which operations it may call, keeping the agent's reach to dataset searches and record lookups.
- **Credential handling:** MojePanstwo is a public API and needs no credentials, so there is nothing for Jentic to hold or inject. Your agent reaches it directly through your self-hosted Jentic One instance.
- **Discovery method:** Agents search Jentic by intent such as 'search a public dataset' or 'get a record by id', and Jentic returns the matching MojePanstwo operation with its parameters so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Socrata Open Data API (SODA)** — Socrata powers many open-data portals with a queryable dataset API, an alternative open-data source.
- **Opendatasoft Explore API** — Opendatasoft exposes datasets from portals it hosts, another way to query open data programmatically.
- **Open Data Network API** — The Open Data Network aggregates public datasets across US jurisdictions, a broader open-data index.
- **GovInfo API** — GovInfo provides US federal government documents and data, an alternative national open-data source.

## FAQ

### Does the MojePanstwo API require authentication?

No. MojePanstwo is a public open-data API and requires no authentication or API key, so an agent can read its datasets directly. Through Jentic the endpoint is imported from the API Directory and your agent calls it without any credential setup.

### What data does the MojePanstwo API expose?

The MojePanstwo API exposes Polish public and government datasets. You search a named dataset for records and retrieve a single record by its identifier. It is read-only, so an agent can query civic and administrative data but cannot change anything on the service.

### What are the rate limits for the MojePanstwo API?

The OpenAPI spec does not specify rate limits for the MojePanstwo API. Check the MojePanstwo documentation at https://mojepanstwo.pl for any usage guidance, and back off when you receive a 429 response.

### How do I search a dataset through Jentic?

Search Jentic for 'search a public dataset', import MojePanstwo from the API Directory, and your agent gets the dataset operation with its filter and pagination parameters so it can call it directly. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the MojePanstwo API?

Yes. The API is read-only, so you write a rule that allows the agent only the dataset operations it needs, such as searching and fetching records. Because Jentic One is self-hosted, those rules and the audit log of every call stay on your own infrastructure.

### Is there a MojePanstwo API MCP server?

You do not need an MCP server to give your agent the MojePanstwo API. Jentic connects it directly from the API Directory: import it and your agent can search datasets and fetch records. That also keeps your agent's context free of an extra server's tool definitions.
