Discover/ncar.gov.sa API
live

ncar.gov.sa APIncar.gov.sa

Access Saudi regulations, international treaties, Um Al-Qura newspaper archives, and governmental coding data via the NCAR ncar.gov.sa API.

Endpoints
7
Updated
3mo ago
Try it
Page number
Number of results per page
Sort order (ASC/DESC)
Column to sort by
api.parse.bot/scraper/76b4a511-4473-467d-a219-faaf36adcc3e/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/76b4a511-4473-467d-a219-faaf36adcc3e/search_rules_and_regulations?page=1&limit=10&sort_order=DESC&sort_column=IsTranslated' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Search for Saudi rules and regulations with pagination and sorting.

Input
ParamTypeDescription
pageintegerPage number
limitintegerNumber of results per page
sort_orderstringSort order (ASC/DESC)
sort_columnstringColumn to sort by
Response
{
  "type": "object",
  "fields": {
    "data": "array",
    "status": "integer",
    "messages": "array",
    "dataLength": "integer"
  },
  "sample": {
    "data": {
      "data": [
        {
          "id": "eyJpdiI6ImxZTUk3V3Vnci9zZlBwS05vbjZIYkE9PSIsInZhbHVlIjoiOTJZNC9LeThGYjVnUktlQi9XQkJkUT09IiwibWFjIjoiM2E2OTVlYmEwMTM5NzNmZTZlYzMzZjZlODAzNjM2MzQxODFkMWNmNDhlOTM3YWRmNTRhMDY4ZmI0MTE2MmZmNCIsInRhZyI6IiJ9",
          "marker": {
            "class": "valid",
            "title_ar": "الوثيقة سارية",
            "title_en": "The document is valid"
          },
          "number": "أ/164",
          "status": "2",
          "checked": false,
          "Approves": [
            {
              "id": 1,
              "name_ar": "أمر ملكي",
              "name_en": "Royal Order",
              "TypeOrder": "1",
              "approve_date": "١٤٢٨/٠٩/٢٦"
            }
          ],
          "is_valid": "سارية",
          "title_ar": "اللائحة التنفيذية لنظام هيئة البيعة لعام 1428هـ",
          "title_en": "Implementing Regulations of the Succession Commission Law 2007M",
          "is_latest": 0,
          "approve_date": "١٤٢٨/٠٩/٢٦",
          "IsGovernmental": 0,
          "PublishingStatus": 1
        },
        {
          "id": "eyJpdiI6IjdHbG1GNjdEMzRlaGx6TGY1Q21GQnc9PSIsInZhbHVlIjoiNE83d2NzeXFjb09oajlNUkpGK0FPQT09IiwibWFjIjoiNDMzOWM5MjVjMDE5ZTE5ZGRmZTMzMGRiM2RhYjViZDNjOWNiNWI2ZGExZmE0OGE5ZWJiMjc5MzRiMmNmNzhlNyIsInRhZyI6IiJ9",
          "marker": {
            "class": "valid-modified",
            "title_ar": "الوثيقة سارية ومعدلة",
            "title_en": "The document is valid and amended"
          },
          "number": "م/3",
          "status": "2",
          "checked": false,
          "Approves": [
            {
              "id": 2,
              "name_ar": "مرسوم ملكي",
              "name_en": "Royal Decree",
              "TypeOrder": "2",
              "approve_date": "١٣٩٣/٠٢/١٠"
            }
          ],
          "is_valid": "سارية",
          "title_ar": "نظام العلم للمملكة العربية السعودية لعام 1393هـ",
          "title_en": "Flag Law of the Kingdom of Saudi Arabia for the year 1973",
          "is_latest": 0,
          "approve_date": "١٣٩٣/٠٢/١٠",
          "IsGovernmental": 0,
          "PublishingStatus": 1
        },
        {
          "id": "eyJpdiI6ImVaZkhGU3dyYURNcFhwRndVOXR1Nnc9PSIsInZhbHVlIjoiMWhjWk1yMlUzV1JxUHZDbUxHaG0vQT09IiwibWFjIjoiMTRkZWM5ODE5NjVhYWM5NzhkMmE3NTU4YjJmNGExZmI2YWU5Y2UzZmRhOGRmMTBhNzIzZjg4YWYzOTZhNDhhYiIsInRhZyI6IiJ9",
          "marker": {
            "class": "valid",
            "title_ar": "الوثيقة سارية",
            "title_en": "The document is valid"
          },
          "number": "أ/135",
          "status": "2",
          "checked": false,
          "Approves": [
            {
              "id": 1,
              "name_ar": "أمر ملكي",
              "name_en": "Royal Order",
              "TypeOrder": "1",
              "approve_date": "١٤٢٧/٠٩/٢٦"
            }
          ],
          "is_valid": "سارية",
          "title_ar": "نظام هيئة البيعة لعام 1427هـ",
          "title_en": "Succession Commission Law 1427H",
          "is_latest": 0,
          "approve_date": "١٤٢٧/٠٩/٢٦",
          "IsGovernmental": 0,
          "PublishingStatus": 1
        }
      ],
      "status": 1,
      "messages": 0,
      "dataLength": 6621
    },
    "status": "success"
  }
}

About the ncar.gov.sa API

This API exposes 7 endpoints covering Saudi Arabia's official governmental document repository at ncar.gov.sa, including rules and regulations, international conventions and treaties, Um Al-Qura newspaper archives, and administrative coding hierarchies. The global_search endpoint lets you query across all content types in a single call, while dedicated endpoints like search_rules_and_regulations and get_regulation_details give structured access to individual legislative documents by encrypted document ID.

Regulations and Conventions

search_rules_and_regulations accepts page, limit, sort_order, and sort_column parameters, returning a paginated data array alongside a dataLength integer that reflects the total result count. Once you have a document identifier from that listing, get_regulation_details takes the encrypted doc_id and returns a single data object with the full record for that regulation or convention. search_conventions_and_treaties follows the same pagination and sorting interface and also exposes a dataLength field, making it straightforward to build paginated clients that walk the full treaty catalog.

Um Al-Qura Newspaper Archive

search_um_alqura_newspaper provides access to issues of the Saudi official gazette, Um Al-Qura, with page, limit, and sort_order controls. The endpoint returns a data array of matching issues and a dataLength count. This is useful for locating historical gazette entries that published royal decrees, ministerial decisions, or official announcements.

Governmental and Regional Coding

get_regions_coding requires no input parameters and returns the full hierarchy of Saudi administrative regions as a data array. get_governmental_coding accepts an optional name string to filter results by agency name, returning matching governmental entity records. Both endpoints return a status integer alongside their data payloads.

Global Search

The global_search POST endpoint accepts a query string and returns a data object that spans all content types — regulations, treaties, newspaper issues, and coding records — in a single response. This is useful when the content type is unknown or when building a unified search interface over NCAR's document holdings.

Common use cases
  • Build a compliance tool that retrieves current Saudi regulations by keyword using search_rules_and_regulations and get_regulation_details.
  • Aggregate Saudi international treaty data for legal research by paginating through search_conventions_and_treaties results.
  • Index historical Um Al-Qura newspaper issues for archival or journalistic research using search_um_alqura_newspaper.
  • Map Saudi administrative region hierarchies for geospatial or logistics applications using get_regions_coding.
  • Look up governmental entity codes by agency name with get_governmental_coding to validate or enrich government procurement records.
  • Power a unified document search interface over NCAR holdings using the global_search endpoint with a single query string.
  • Monitor newly published regulations by polling search_rules_and_regulations with sort_order=DESC sorted by publication date.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does ncar.gov.sa offer an official developer API?+
NCAR does not publish a documented public developer API. The data accessible through this API reflects the content available on the ncar.gov.sa website.
What does `get_regulation_details` return compared to the search endpoints?+
get_regulation_details returns a single data object with the full detail record for one document, identified by its encrypted doc_id. The search endpoints — search_rules_and_regulations and search_conventions_and_treaties — return data arrays of summary records with a dataLength count, intended for listing and pagination rather than full document retrieval.
Can I filter Um Al-Qura newspaper results by date range or issue number?+
search_um_alqura_newspaper currently accepts page, limit, and sort_order parameters only — there is no date-range or issue-number filter parameter exposed. You can fork this API on Parse and revise it to add a date or issue filter endpoint if your use case requires it.
Does the API return the full text or PDF content of regulations?+
The endpoints return structured metadata and document records as JSON fields. Full-text document content or PDF file delivery is not currently exposed. You can fork this API on Parse and revise it to add an endpoint that retrieves document file links or full text if that data is accessible from the source.
How does pagination work across the listing endpoints?+
The search_rules_and_regulations, search_conventions_and_treaties, and search_um_alqura_newspaper endpoints all accept page and limit integer parameters. Each response includes a dataLength integer representing the total number of matching records, which you can use to calculate total page counts client-side.
Page content last updated . Spec covers 7 endpoints from ncar.gov.sa.
Related APIs in Government PublicSee all →
athletic.net API
Search and analyze cross country and track & field performance data across the US, including athlete profiles, meet results, team rosters, and rankings. Access comprehensive meet information, historical records, and state-level competition data to track athlete progress and discover top performers.
alienvault.com API
Search and analyze global threat intelligence data including indicators of compromise, threat pulses, and adversary profiles from the Open Threat Exchange community. Monitor recent security alerts and access detailed information about threats and adversaries to strengthen your cybersecurity defenses.
eprocurement.gov API
Monitor India's public procurement opportunities by accessing active tenders, bids closing today, global tenders, high-value contracts, and cancelled tenders from the Central Public Procurement Portal. Search tender details, browse participating organizations, and track real-time procurement statistics to stay informed on government contracting opportunities.
maradminbot.com API
Search and retrieve official Marine Corps MARADMIN announcements from Marines.mil, filtering by year, status, and keyword to stay updated on the latest personnel and administrative directives. Get detailed information about specific announcements by number or browse the most recent updates to ensure you never miss critical Marine Corps guidance.
13f.info API
13f.info API
illinoisreportcard.com API
Search and analyze comprehensive performance data for Illinois public schools, districts, and the state, including academic achievements in ELA, math, and science, student demographics, teacher and administrator information, school finances, and environmental conditions. Compare schools side-by-side, track growth metrics, and access accountability ratings and school highlights to make informed decisions about education quality.
customs.gov.mv API
Check import/export duties, tariff classifications, and exchange rates for Maldives customs compliance, plus track vessel movements, company registrations, and declaration statuses. Get real-time data directly from the official customs portal to streamline your trade and logistics operations.
bizapedia.com API
Search for detailed business profiles and contact information from Bizapedia, including company details, employee data, and communication channels. Access comprehensive business intelligence to research companies and build targeted contact lists.
NCAR Saudi Arabia API – ncar.gov.sa · Parse