Discover/Gov API
live

Gov APIpravo.gov.ru

Search and retrieve officially published Russian legal acts from pravo.gov.ru. Filter by keyword, authority, document type, and date. Get full text and PDF links.

This API takes change requests — .
Endpoint health
verified 3h ago
search_documents
get_document
list_document_types
list_blocks
list_authorities
5/5 passing latest checkself-healing
Endpoints
5
Updated
3h ago

What is the Gov API?

The pravo.gov.ru API exposes 5 endpoints for querying Russia's official legal publication portal. Use search_documents to find federal laws, presidential decrees, and government resolutions by keyword, issuing authority, document type, and date range, then call get_document to retrieve metadata, legal status, the official PDF URL, appendices, and full plain text for acts the portal publishes in HTML format.

This call costs3 credits / call— charged only on success
Try it
1-based result page.
Portal publication section code from list_blocks.items[*].block (e.g. president, government, subjects). Omitted = all sections.
Keyword(s) matched as whole words against the act title. Omitted = no keyword filter.
End of the date range, ISO date YYYY-MM-DD (inclusive).
Start of the date range, ISO date YYYY-MM-DD (inclusive).
Results per page; the portal accepts only 10, 30, 100 or 200.
Which date the range filters on: the official publication date or the signing date of the act.
Issuing (signatory) authority identifier (GUID) from list_authorities.items[*].authority_id. Omitted = all authorities.
Exact document number as printed on the act (e.g. 274-ФЗ or 550). Omitted = no number filter.
Document type identifier (GUID) from list_document_types.items[*].document_type_id. Omitted = all types.
api.parse.bot/scraper/d6e83666-8cd9-4799-a4a8-d5cef8e8fdca/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/d6e83666-8cd9-4799-a4a8-d5cef8e8fdca/search_documents?query=%D0%BE%D0%B1%D1%80%D0%B0%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B8&date_to=2026-09-03&date_from=2023-12-08' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace pravo-gov-ru-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: pravo.gov.ru SDK — search Russian legal acts, drill into full text."""
from parse_apis.pravo_gov_ru_api import PravoGovRu, DateField, DocumentNotFound

client = PravoGovRu()

# Browse portal sections and the authorities within one section.
for block in client.blocks.list(limit=5):
    print(block.block, block.name)

# Authorities for the presidential section, using constructible Block.
presidential = client.block(block="president")
for auth in presidential.authorities.list(limit=5):
    print(auth.authority_id, auth.name)

# List available document types (useful for filtering searches).
for dt in client.document_types.list(limit=5):
    print(dt.document_type_id, dt.name)

# Search recent legal acts about education, sorted by publication date.
summary = client.document_summaries.search(
    query="образовании",
    date_from="2024-01-01",
    date_field=DateField.PUBLICATION,
    limit=1,
).first()

# Drill into the full document from a search hit.
if summary is not None:
    print(summary.publication_number, summary.title)
    try:
        doc = summary.details()
    except DocumentNotFound:
        print("document removed from portal")
    else:
        print(doc.full_title)
        print("pages:", doc.pages_count, "source:", doc.text_source)
        if doc.text:
            print(doc.text[:200])
        for appendix in doc.appendices:
            print("  appendix:", appendix.title, appendix.url)

print("exercised: blocks.list / block.authorities.list / document_types.list / document_summaries.search / details")
All endpoints · 5 totalmissing one? ·

Searches officially published legal acts. Returns one record per publication (publication_number is the portal's 16-digit official publication number, consumed by get_document) with title, document type, issuing authority, document number, signing date, publication date, page URL and PDF URL. All filters are optional and combine with AND; with no filters the newest publications are returned. The keyword matches whole words in the act title (a word form such as 'образовании' matches, a stem such as 'образован' does not). The date range applies to the publication date by default or to the signing date when date_field is 'signing'; a date in any format other than YYYY-MM-DD is rejected. Pagination is caller-controlled through page (1-based, default 1) and page_size (portal-allowed values 10, 30, 100, 200; default 30); total, pages_total and has_more come from the portal. One search call costs one portal request plus two cached lookups that resolve type and authority names.

Input
ParamTypeDescription
pageinteger1-based result page.
blockstringPortal publication section code from list_blocks.items[*].block (e.g. president, government, subjects). Omitted = all sections.
querystringKeyword(s) matched as whole words against the act title. Omitted = no keyword filter.
date_tostringEnd of the date range, ISO date YYYY-MM-DD (inclusive).
date_fromstringStart of the date range, ISO date YYYY-MM-DD (inclusive).
page_sizeintegerResults per page; the portal accepts only 10, 30, 100 or 200.
date_fieldstringWhich date the range filters on: the official publication date or the signing date of the act.
authority_idstringIssuing (signatory) authority identifier (GUID) from list_authorities.items[*].authority_id. Omitted = all authorities.
document_numberstringExact document number as printed on the act (e.g. 274-ФЗ or 550). Omitted = no number filter.
document_type_idstringDocument type identifier (GUID) from list_document_types.items[*].document_type_id. Omitted = all types.
Response
{
  "type": "object",
  "fields": {
    "page": "integer current 1-based page",
    "items": "array of publication records: publication_number (16-digit official id), title, full_title (type + date + number + title as printed), document_type_id, document_type (name), authority_id, authority (name), document_number, signing_date (YYYY-MM-DD), publication_date (YYYY-MM-DD), pages_count, page_url, pdf_url",
    "total": "integer total matching publications reported by the portal",
    "has_more": "boolean, true when a later page exists",
    "page_size": "integer page size used",
    "pages_total": "integer total pages reported by the portal"
  },
  "sample": {
    "data": {
      "page": 2,
      "items": [
        {
          "title": "\"О внесении изменения в статью 86 Федерального закона «Об образовании в Российской Федерации»\"",
          "pdf_url": "http://publication.pravo.gov.ru/file/pdf?eoNumber=0001202406220018",
          "page_url": "http://publication.pravo.gov.ru/document/0001202406220018",
          "authority": "Президент Российской Федерации",
          "full_title": "Федеральный закон от 22.06.2024 № 159-ФЗ\n \"О внесении изменения в статью 86 Федерального закона \"Об образовании в Российской Федерации\"",
          "pages_count": 3,
          "authority_id": "225698f1-cfbc-4e42-9caa-32f9f7403211",
          "signing_date": "2024-06-22",
          "document_type": "Федеральный закон",
          "document_number": "159-ФЗ",
          "document_type_id": "82a8bf1c-3bc7-47ed-827f-7affd43a7f27",
          "publication_date": "2024-06-22",
          "publication_number": "0001202406220018"
        }
      ],
      "total": 18,
      "has_more": false,
      "page_size": 10,
      "pages_total": 2
    },
    "status": "success"
  }
}

About the Gov API

What the API covers

The API mirrors the public catalog on pravo.gov.ru, Russia's official portal for publishing federal and regional legal acts. Each record in search_documents returns a publication_number — the portal's 16-digit official identifier — alongside title, full_title, document_type, authority, document_number, signing_date, publication_date, and page_url. Results can be filtered by query (whole-word keyword match against act titles), date_from/date_to (applied to either the publication date or the signing date via date_field), authority_id, and block (portal section). Pagination is controlled by page and page_size, which accepts only the values 10, 30, 100, or 200.

Document detail and full text

get_document takes a publication_number and returns everything search_documents provides plus Ministry of Justice registration data, status (legal status from the portal's legal-texts system), pdf_url, pages_count, and appendices (each with title, unit_id, and url). The text field contains the full plain text of the act, with paragraphs separated by newlines, but only when the portal has published an HTML version of the document; when no HTML version exists, both text and status are null and text_source is 'none'.

Reference lists

Three supporting endpoints populate filter values. list_blocks returns portal section codes (block) such as president, government, and subjects, along with their names and descriptions. list_authorities returns authority_id/name pairs for all issuing authorities; passing a block narrows the list to that section. list_document_types returns document_type_id/name pairs — types like Федеральный закон, Указ, and Постановление — optionally filtered to one authority. These identifiers feed directly into search_documents filters.

Reliability & maintenanceVerified

The Gov API is a managed, monitored endpoint for pravo.gov.ru — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when pravo.gov.ru changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official pravo.gov.ru API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3h ago
Latest check
5/5 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track all presidential decrees (Указ) signed within a specific date range by filtering search_documents on authority_id and document type
  • Build a full-text index of Russian federal laws by paginating search_documents and fetching text from get_document for each HTML-available act
  • Monitor new government resolutions (Постановления) published to the government block by polling search_documents with date_from set to the previous check date
  • Extract Ministry of Justice registration data and legal status for compliance checks using get_document's status and full_title fields
  • Retrieve official PDF links and page counts for archival or document management systems via get_document's pdf_url and pages_count fields
  • Enumerate all regional issuing authorities by calling list_authorities without a block filter for cross-regional legislative analysis
  • Collect appendices attached to complex legislative acts using the appendices array returned by get_document
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does pravo.gov.ru have an official developer API?+
The portal does not publish a documented public API for third-party developers. The official site at http://pravo.gov.ru provides search and document access only through its web interface.
When does get_document return full plain text versus null?+
The text field is populated only when the portal has published an HTML version of the act. When only a scanned PDF exists, text is null, status is null, and text_source is 'none'. The pdf_url and pages_count fields are always returned regardless of whether an HTML version is available.
What page_size values does search_documents accept?+
The portal enforces a fixed set of valid page sizes: 10, 30, 100, or 200 results per page. Passing any other value will not return a valid result. Total pages and total matching records are reported in pages_total and total respectively.
Does the API expose the full legislative history or amendment chains for a document?+
Not currently. The API returns metadata, legal status, and the text of individual published acts, but does not link related amendments, superseding documents, or consolidated versions. You can fork this API on Parse and revise it to add an endpoint that cross-references acts by document number or title to surface related publications.
Are court decisions or constitutional court rulings included?+
Not currently. The API covers officially published executive and legislative acts on pravo.gov.ru — presidential decrees, government resolutions, and federal laws — but judicial decisions from Russian courts are not part of this portal's catalog. You can fork this API on Parse and revise it to target court-specific portals and add the relevant endpoints.
Page content last updated . Spec covers 5 endpoints from pravo.gov.ru.
Related APIs in Government PublicSee all →
indiankanoon.org API
Search and access Indian court judgments, laws, and tribunal decisions to find relevant legal documents and case law. Browse legal documents by court, year, and month, or get real-time suggestions and recent rulings to support your legal research.
justice.gov API
Search and retrieve official U.S. Department of Justice press releases. Find information on DOJ announcements, enforcement actions, settlements, and legal proceedings across all topic areas. Access full press release details including case summaries, entities involved, and filing dates.
ato.gov.au API
Search and retrieve official Australian Taxation Office rulings, legislation, court cases, and interpretative decisions to find authoritative tax guidance and legal information. Access specific tax documents directly to research compliance requirements and regulatory interpretations relevant to your situation.
law.justia.com API
Search federal court dockets and retrieve detailed case filings to stay informed about ongoing litigation, track case outcomes, and access official court documents. Find specific cases by keywords or case identifiers to monitor legal proceedings relevant to your interests or research.
legislation.gov.uk API
Search and retrieve official UK legislation from legislation.gov.uk, including Acts of Parliament and Statutory Instruments, by title, year, number, or type. Browse complete tables of contents and read the full text of individual sections to find the specific legal information you need.
eur-lex.europa.eu API
Access and explore the complete collection of European Union laws, regulations, and Official Journal publications through a comprehensive database that lets you search documents, retrieve full texts, summaries, and metadata, and track legislative procedures and national implementations. Find exactly what you need with detailed search capabilities and get detailed information about how EU laws are transposed into national legislation.
publicrecords.copyright.gov API
Search the U.S. Copyright Office's public database to find copyright registration and recordation records, then retrieve detailed information about specific registrations. Quickly access official copyright ownership, filing dates, and registration details without visiting the Copyright Office website directly.
legifrance.gouv.fr API
Search and retrieve official French legal documents, laws, and unclaimed estate notices from the Journal Officiel (JORF), including the ability to browse the latest published issues. Find specific legal texts and succession notices to stay informed about French legislation and inheritance announcements.