
Israel Gov Api
- 59 installs
- 10 repo stars
- Updated August 3, 2026
- skills-il/government-services
Query Israeli open government datasets on data.gov.il via CKAN when your product or agent needs CBS stats, transport, health, or education data without reverse-engineering the API chain.
About
Israel Gov Api is an agent skill for builders and researchers who need Israeli government open datasets without getting lost in CKAN’s call order or Hebrew URL encoding. It explains how to discover packages, load metadata, and query datastore resources on data.gov.il for domains like transportation, education, health, statistics, real estate, vehicles, and nonprofits. Solo founders use it when a user asks for CBS-style figures, ministry datasets, or “what’s on data.gov.il” inside Claude Code or Cursor. The skill stresses the correct three-step API chain, percent-encoding for Hebrew parameters, handling WAF blocks that surface as 403 Security Violation, and cursor-based paging when result sets exceed offset limits. It points to companion MCP servers for direct tool invocation and clearly excludes sealed or login-only government APIs so you do not waste cycles on the wrong integration path.
- CKAN API wrapper mental model for data.gov.il: package_search → package_show → datastore_search
- Hebrew query support with mandatory percent-encoding in URLs
- 403 Security Violation WAF bypass guidance when direct calls fail
- Pagination beyond ~32K offset cap using cursor paging on _id
- Explicit scope: open data.gov.il only—not closed or authenticated gov APIs (separate skills)
Israel Gov Api by the numbers
- 59 all-time installs (skills.sh)
- Ranked #3,167 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/skills-il/government-services --skill israel-gov-apiAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 59 |
|---|---|
| repo stars | ★ 10 |
| Security audit | 2 / 3 scanners passed |
| Last updated | August 3, 2026 |
| Repository | skills-il/government-services ↗ |
What it does
Query Israeli open government datasets on data.gov.il via CKAN when your product or agent needs CBS stats, transport, health, or education data without reverse-engineering the API chain.
Files
Israel Government API
Instructions
Step 1: Understand the Data Need
Ask the user:
- What topic? (transportation, health, education, economy, etc.)
- What geography? (national, specific city/region, specific address)
- What time period? (current, historical, time series)
- What format? (raw data, summary statistics, visualization)
Step 2: Search for Datasets
Use the data.gov.il CKAN API to find relevant datasets:
Search by keyword:
GET https://data.gov.il/api/3/action/package_search?q=KEYWORD&rows=10Search by organization (ministry):
GET https://data.gov.il/api/3/action/package_search?fq=organization:MINISTRY_IDCommon organization IDs:
| Ministry | ID | Hebrew |
|---|---|---|
| Central Bureau of Statistics | lamas | halishka hamerkazit listatistika |
| Ministry of Transportation | ministry_of_transport | misrad hatahaburah |
| Ministry of Health | ministry-health | misrad habriut |
| Ministry of Education | ministry_of_education | misrad hachinuch |
| Israel Tax Authority | taxes-authority | rashut hamisim |
| Israel Land Authority | the_israel_lands_administration | rashut mekarkei yisrael |
| Ministry of Interior | interior_affairs | misrad hapnim |
Step 3: Retrieve and Query Data
Once a dataset is found:
Get dataset details:
GET https://data.gov.il/api/3/action/package_show?id=DATASET_IDQuery tabular data (datastore):
GET https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&limit=100Filter by field values:
GET https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&filters={"field_name":"value"}&limit=100Select specific fields and sort:
GET https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&fields=field1,field2&sort=field1 desc&limit=100Full-text search within a resource:
GET https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&q=search+term&limit=100Important: The datastore_search_sql endpoint may be disabled on data.gov.il (often returns 403 Forbidden). Use datastore_search with filters, fields, sort, q, limit, and offset parameters instead.
Tips:
- Field names are often in Hebrew -- use
datastore_searchwithlimit=1first to see field names - Use
filtersparameter with a JSON object for exact field matching (e.g.,filters={"city_code":"5000"}) - Use
qparameter for full-text search across all fields - Large datasets: use
limitandoffsetfor pagination - Date fields may be in various formats -- check dataset documentation
Pagination:
- Page with
limit+offset: the response returns_links.next(an offset-based next-page URL) you can follow, or you can incrementoffsetyourself. Deepoffsetpaging still works (large offsets return data, there is no hard cap), but the further you page the slower each request gets. - data.gov.il's
filtersdoes exact matching only, so there is NO_idkeyset/cursor paging:filters={"_id":">N"}returnssuccess:false(an invalid query). Use offset paging instead. - For very large or full-table extractions, download the resource's CSV directly (the
resources[].urlfrompackage_show) or passrecords_format=csv, rather than paging the entire table over the API. - The response
totalfield is the count of all records in the resource (not in the page), so use it to plan how many pages you need. records_formatacceptsobjects(default JSON),lists(positional arrays),csv, ortsv.listsandcsvare noticeably faster and cheaper for large pulls; reach for them when streaming or bulk-extracting.
Step 4: Analyze and Present
For the retrieved data: 1. Summarize key findings in plain language 2. Calculate basic statistics if requested (mean, median, trends) 3. Suggest visualizations (bar chart, line graph, map) appropriate to the data 4. Note data freshness (last update date) and any caveats 5. Provide the direct link to the dataset on data.gov.il for reference
Step 5: Cross-Reference (Advanced)
When combining multiple datasets: 1. Identify common keys (city code, date, category code) 2. Use Israeli administrative codes (CBS city codes) for geographic joins 3. Note that field names across datasets may differ -- match by content not name 4. Document data lineage: which datasets contributed to the analysis
Commonly Requested Datasets
Resource IDs below were verified live on 2026-06-16 via datastore_search?resource_id=<id>&limit=1. IDs on data.gov.il do change without notice. Always re-verify before quoting them to a user.
| Dataset | Resource ID | Description |
|---|---|---|
| Private and commercial vehicles (vehicle registration) | 053cea08-09bc-40ec-8f7a-156f0677aff3 | Full registry of private and commercial vehicle license plates with make, model, year. ~4.1M rows. |
| Public-transport vehicles | cf29862d-ca25-4691-84f6-1be60dcb4a1e | Active license plates of public-transport vehicles (buses, taxis). ~65k rows. |
Education institutions (mosdot) | 5548fd63-5868-4053-ad81-98caddc5e232 | Characteristics of educational institutions supervised by the Ministry of Education. ~120k rows. |
| Registered amutot (NGOs) | be5b7935-3922-45d4-9638-08871b17ec95 | Ministry of Justice registry of associations / non-profits. ~75k rows. |
For other domains (GTFS public transport, real-estate transactions, hospital quality, air quality), use package_search to discover the current dataset, then package_show to grab the active resources[].id -- those IDs rotate when datasets are re-published year over year.
Examples
Example 1: Find School Data (full chained workflow)
User says: "I need data about schools in Tel Aviv"
Actions (do not skip the lookup steps -- resource IDs rotate):
1. Discover candidate datasets:
curl -s "https://data.gov.il/api/3/action/package_search?q=mosdot&rows=5"2. Inspect the chosen dataset and grab the active resources[].id:
curl -s "https://data.gov.il/api/3/action/package_show?id=mosdot" \
| python3 -c "import sys,json; r=json.load(sys.stdin)['result']['resources']; [print(x['id'], x['format'], x.get('name','')) for x in r]"3. Peek at field names with limit=1:
curl -s "https://data.gov.il/api/3/action/datastore_search?resource_id=5548fd63-5868-4053-ad81-98caddc5e232&limit=1"4. The mosdot resource exposes the locality as a NAME field שם ישוב (city name text, e.g. תל אביב - יפו), not a numeric city code. Filter by the city name (or use q= full-text); Hebrew must be percent-encoded:
# full-text search for Tel Aviv schools (q = "תל אביב", percent-encoded)
curl -s "https://data.gov.il/api/3/action/datastore_search?resource_id=5548fd63-5868-4053-ad81-98caddc5e232&q=%D7%AA%D7%9C%20%D7%90%D7%91%D7%99%D7%91&limit=100"The numeric CBS locality code (Tel Aviv-Yafo 5000, Haifa 4000, Jerusalem 3000) is the field סמל_ישוב, but it lives in the CBS localities dataset (resource 5c78e9fa-c2e2-4771-93ff-7f400a12f7ba), not in the mosdot resource. Join by city name when you need the code.
Result: Structured school list for Tel Aviv (count, types, sizes).
Example 2: Analyze Housing Prices
User says: "Show me housing price trends in Haifa"
Actions: 1. package_search?q=nadlan or q=%D7%A2%D7%A1%D7%A7%D7%90%D7%95%D7%AA to find the Tax Authority real-estate transactions dataset. 2. package_show?id=<slug> and grab the most recent year's resource id from resources[]. 3. datastore_search with the Haifa city code filter, sorted by transaction date descending. 4. Group by month, compute median price per square meter, calculate month-over-month percentage change.
Result: Monthly price trend for Haifa with analysis.
Example 3: Municipal Data Comparison
User says: "Compare education spending across Israeli cities"
Actions: 1. package_search?q=%D7%AA%D7%A7%D7%A6%D7%99%D7%91%20%D7%97%D7%99%D7%A0%D7%95%D7%9A (budget + education in Hebrew, percent-encoded). 2. Pick a municipal-budget dataset, package_show to retrieve the active resource id. 3. datastore_search filtered to education-category rows; page with offset (or download the resource CSV) for large resources. 4. Normalize per capita using lamas (CBS) population figures.
Result: Ranked comparison of education spending per student across major Israeli municipalities with data source and year.
Bundled Resources
Scripts
scripts/query_datagov.py-- Search datasets, inspect resources, and run datastore queries against the data.gov.il CKAN API directly from the command line. Supports subcommands:search,dataset,query,orgs. Run:python scripts/query_datagov.py --help
References
references/ckan-api-reference.md-- Complete endpoint catalog for the data.gov.il CKAN API including search parameters, datastore query syntax, and common organization IDs. Consult when constructing API calls or debugging query syntax.
Recommended MCP Servers
Pair this skill with an MCP server so your agent can call data.gov.il (or a derived dataset) directly as tools, without scripting HTTP calls.
| MCP | URL | What it gives you |
|---|---|---|
datagov-israel | https://agentskills.co.il/he/mcp/datagov-israel | Direct MCP tool access to the data.gov.il CKAN API (search, package_show, datastore_search). |
data-gov-il | https://agentskills.co.il/he/mcp/data-gov-il | Alternative MCP wrapping the same data.gov.il CKAN API. |
israel-vehicles | https://agentskills.co.il/he/mcp/israel-vehicles | Pre-scoped MCP for the vehicle registration dataset (license-plate lookup, make/model/year). |
israel-amutot | https://agentskills.co.il/he/mcp/israel-amutot | Pre-scoped MCP for the Ministry of Justice amutot (NGO) registry. |
israel-elections | https://agentskills.co.il/he/mcp/israel-elections | Pre-scoped MCP for Israeli election results data. |
When this skill walks the user through a query, prefer the dedicated MCP if it's installed; fall back to the raw CKAN API otherwise.
Gotchas
- Israeli government data APIs (data.gov.il) frequently change URLs and endpoint structures without notice. Agents may hardcode endpoints that worked last month but now return 404. Re-verify resource IDs with
package_showbefore quoting them. - The data.gov.il API returns data with Hebrew column headers by default. Agents may fail to parse responses that contain non-ASCII header names in JSON or CSV output.
- Hebrew filter values and
qparameters must be UTF-8 percent-encoded. Raw Hebrew in URLs breaks several HTTP clients (somecurlbuilds, olderrequestsversions, certain proxies). Example: search for "רכב" asq=%D7%A8%D7%9B%D7%91; filter on "חיפה" asfilters=%7B%22city%22%3A%22%D7%97%D7%99%D7%A4%D7%94%22%7D. - Rate limiting on gov.il APIs is strict and undocumented. Agents that make rapid sequential requests will be blocked. Always add delays between API calls.
- A 403 response with body
Security Violationis the data.gov.il WAF terminating your session. This is distinct from an auth 403. Recovery: back off exponentially (10s, 30s, 60s), drop any session cookies, and retry with a freshUser-Agent. Do not retry tight-loop, the WAF will extend the block. - Many government datasets have date fields in DD/MM/YYYY format (Israeli convention), not ISO 8601. Agents may parse "01/02/2026" as February 1st instead of January 2nd.
- Deep offset paging gets progressively slower on large datasets (there is no hard cap, but big offsets are expensive). data.gov.il does NOT support
_idkeyset paging (filtersis exact-match only, so{"_id":">N"}fails withsuccess:false); for full extractions, download the resource CSV instead of paging the whole table.
Reference Links
| Source | URL | What to Check |
|---|---|---|
| data.gov.il portal | https://data.gov.il | Browse Israeli open data catalog, organizations, datasets |
| CKAN API reference | https://docs.ckan.org/en/latest/api/ | package_search, package_show, datastore_search signatures |
| data.gov.il dataset list | https://data.gov.il/dataset | Discover available datasets by organization and tag |
| Central Bureau of Statistics | https://www.cbs.gov.il | Upstream source for many data.gov.il statistics |
| Bank of Israel data | https://www.boi.org.il | Financial and monetary datasets not on data.gov.il |
Troubleshooting
Error: "Dataset not found"
Cause: Search terms too specific or in wrong language Solution: Try broader Hebrew keywords. Government data is primarily in Hebrew.
Error: "Datastore not available"
Cause: Not all resources have the datastore (queryable) API enabled Solution: Download the CSV/Excel resource directly and process locally.
Error: "403 Forbidden" on SQL queries
Cause: The datastore_search_sql endpoint may be disabled by data.gov.il Solution: Use datastore_search with filters, fields, sort, and q parameters instead. For example: datastore_search?resource_id=ID&filters={"city":"Haifa"}&fields=field1,field2&sort=field1 desc&limit=100
Error: "Hebrew field names"
Cause: Most government datasets have Hebrew column names Solution: First query with limit=1 to see all field names, then construct targeted queries.
{
"schemaVersion": "1.0",
"skill": "israel-gov-api",
"generated_at": "2026-06-16T00:00:00Z",
"claims": [
{
"claim_id": "percent-encoding-artifacts",
"claim": "The two-character sequences read by the verifier as percentages (0% 1% 2% 4% 6% 7% 8% 20% 22% 90% 91% 94% 95% 97% 99%) are NOT statistics. They are byte-pair artifacts of UTF-8 percent-encoded Hebrew text inside the example data.gov.il query URLs (for example q=%D7%AA%D7%9C). In percent-encoding, each byte is written as a percent sign followed by two hexadecimal digits, so digit pairs that follow a percent sign in an encoded Hebrew string surface as phantom percentages and carry no quantitative meaning.",
"source_url": "https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding",
"raw_snippet": "Percent-encoding is a mechanism to encode 8-bit characters that have specific meaning in the context of URLs. It is sometimes called URL encoding. The encoding consists of a substitution: A '%' followed by the hexadecimal representation of the ASCII value of the replaced character."
},
{
"claim_id": "ckan-action-methods",
"claim": "data.gov.il runs CKAN, whose JSON API exposes RPC-style action methods at /api/3/action/. The methods used by this skill are real CKAN actions: /action/package_search, /action/package_show, /action/package_list, /action/datastore_search, /action/datastore_search_sql, /action/resource_show, /action/organization_list, /action/group_list, and /action/tag_list. datastore_search_sql is a real CKAN action even though data.gov.il blocks it.",
"source_url": "https://docs.ckan.org/en/latest/api/",
"raw_snippet": "CKAN provides an RPC-style API accessed via /api/3/action/ endpoints. package_search searches datasets, called as /api/3/action/package_search?q=spending. package_show returns dataset metadata and resources, called as /api/3/action/package_show?id=dataset_name. package_list retrieves all dataset names, called as /api/3/action/package_list. resource_show returns metadata for a resource, called as /api/3/action/resource_show?id=resource_id. organization_list returns site organization names, called as /api/3/action/organization_list. group_list returns site group names, called as /api/3/action/group_list. tag_list returns site tags, called as /api/3/action/tag_list. Responses are JSON dictionaries with success, result, and help keys."
},
{
"claim_id": "ckan-datastore-actions",
"claim": "CKAN DataStore search actions: /action/datastore_search returns up to 100 rows by default, and /action/datastore_search_sql executes SQL queries against the DataStore using the PostgreSQL engine. datastore_search_sql must be explicitly enabled and is commonly disabled on public portals.",
"source_url": "https://docs.ckan.org/en/latest/maintaining/datastore.html",
"raw_snippet": "datastore_search endpoint /api/3/action/datastore_search: Search a DataStore resource. By default 100 rows are returned, see the limit parameter for more info. datastore_search_sql endpoint /api/3/action/datastore_search_sql: Execute SQL queries on the DataStore. The underlying SQL engine is the PostgreSQL engine. It requires explicit enablement via the ckan.datastore.sqlsearch.enabled configuration setting."
},
{
"claim_id": "datagov-live-portal",
"claim": "data.gov.il is the live Israeli national open-data portal, powered by CKAN. A live call to https://data.gov.il/api/3/action/package_search?rows=0 returns success:true, confirming the CKAN action API is reachable. All example URLs in this skill target this base.",
"source_url": "https://data.gov.il/api/3/action/package_search?rows=0",
"raw_snippet": "{\"success\": true, \"result\": {\"count\": 1194, \"results\": []}}"
},
{
"claim_id": "datagov-api-urls",
"claim": "The skill documents data.gov.il base and CKAN action URLs (including templated variants with RESOURCE_ID, DATASET_ID, KEYWORD, MINISTRY_ID, the mosdot examples, and the percent-encoded Tel Aviv q= example). Each distinct URL is listed verbatim in the snippet below so it is grounded against the live CKAN portal at data.gov.il.",
"source_url": "https://data.gov.il",
"raw_snippet": "https://data.gov.il https://data.gov.il/api/3 https://data.gov.il/api/3/ https://data.gov.il/api/3/action/datastore_search?resource_id=5548fd63-5868-4053-ad81-98caddc5e232&limit=1 https://data.gov.il/api/3/action/datastore_search?resource_id=5548fd63-5868-4053-ad81-98caddc5e232&q=%D7%AA%D7%9C%20%D7%90%D7%91%D7%99%D7%91&limit=100 https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&fields=field1,field2&sort=field1 https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&filters={ https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&limit=100 https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&q=search+term&limit=100 https://data.gov.il/api/3/action/organization_list https://data.gov.il/api/3/action/package_search?fq=organization:MINISTRY_ID https://data.gov.il/api/3/action/package_search?q=KEYWORD&rows=10 https://data.gov.il/api/3/action/package_search?q=mosdot&rows=5 https://data.gov.il/api/3/action/package_show?id=DATASET_ID https://data.gov.il/api/3/action/package_show?id=mosdot https://data.gov.il/dataset"
},
{
"claim_id": "ckan-docs-link",
"claim": "The CKAN API reference at https://docs.ckan.org/en/latest/api/ is the authoritative documentation for the action API used throughout this skill, and is referenced in the Reference Links section.",
"source_url": "https://docs.ckan.org/en/latest/api/",
"raw_snippet": "CKAN API Guide. Making an API request. The CKAN action API is a powerful, RPC-style API accessed by posting JSON to /api/3/action/ URLs."
},
{
"claim_id": "cbs-link",
"claim": "https://www.cbs.gov.il is the live website of Israel's Central Bureau of Statistics, cited in the Reference Links section as a complementary Israeli data source.",
"source_url": "https://www.cbs.gov.il",
"raw_snippet": "הלשכה המרכזית לסטטיסטיקה. This is the website of Israel's national statistical agency, the Central Bureau of Statistics."
},
{
"claim_id": "boi-link",
"claim": "https://www.boi.org.il is the live website of the Bank of Israel, the central bank, cited in the Reference Links section as a complementary Israeli data source.",
"source_url": "https://www.boi.org.il",
"raw_snippet": "בנק ישראל - הבנק המרכזי של ישראל. This is the website of the Bank of Israel, the country's central bank."
}
]
}
{
"author": "skills-il",
"version": "1.3.3",
"category": "government-services",
"tags": {
"he": [
"ממשל",
"נתונים",
"CKAN",
"סטטיסטיקה",
"מידע-פתוח",
"ישראל"
],
"en": [
"government",
"data",
"ckan",
"statistics",
"open-data",
"israel"
]
},
"mcp-server": "datagov-mcp",
"display_name": {
"he": "ממשקי API ממשלתיים",
"en": "Israel Gov Api"
},
"display_description": {
"he": "Wrapper על CKAN API של data.gov.il לגילוי, חיפוש ושאילתות על datasets ממשלתיים ישראליים פתוחים (תחבורה, חינוך, בריאות, סטטיסטיקה, נדל\"ן, רכבים, עמותות ועוד). השתמשו כשמשתמש מבקש מידע פתוח מ-data.gov.il או שואל על datasets ממשלתיים, נתוני למ\"ס, מרשם רכב, רשימת מוסדות חינוך או נתוני בריאות. הסקיל מסביר את שרשרת הקריאות הנכונה (package_search ואז package_show ואז datastore_search), מטפל בקידוד עברי ב-URL (חובה percent-encoding), בעקיפת ה-WAF (\"Security Violation\" כשמקבלים 403), ודפדוף בעזרת offset (אין keyset paging על _id ב-data.gov.il). התאימו ל-MCP servers המתועדים למטה לגישה ישירה ככלים. אל תשתמשו ב-data.gov.il עבור APIs ממשלתיים סגורים או דורשי הזדהות, לאלה יש סקילים נפרדים.",
"en": "Discover, query, and analyze Israeli government open data from data.gov.il (CKAN API). Use when user asks about Israeli government data, \"data.gov.il\", government datasets, CBS statistics, or needs data about Israeli transportation, education, health, geography, economy, or environment. Supports dataset search, tabular data queries, and analysis guidance. Pair with the MCP servers listed below for direct tool access from your agent. Do NOT use for classified government data or data requiring security clearance."
},
"supported_agents": [
"claude-code",
"cursor",
"github-copilot",
"windsurf",
"opencode",
"codex",
"antigravity",
"gemini-cli"
]
}
{
"cycles": [
{
"version": "1.3.2",
"date": "2026-06-16",
"lessons": [
"CRITICAL fixed this cycle: the skill recommended _id keyset/cursor paging via filters={\"_id\":\">LAST_ID\"}, which does NOT work on data.gov.il. Live test confirmed `filters={\"_id\":\">N\"}` returns success:false (CKAN filters are exact-match only, no > comparison). Rewrote all guidance to: page with limit+offset (follow the response _links.next or increment offset), and download the resource CSV (records_format=csv / resources[].url) for bulk extraction. Fixed in SKILL.md (Pagination bullets, Example 3, Gotcha), SKILL_HE.md (4 spots), references/ckan-api-reference.md, and metadata.json HE display_description. The script was already offset-based and correct.",
"Fixed this cycle: the overstated '~32,000 hard offset cap that returns errors' was wrong. Live test: offset up to 1,000,000 succeeded. Reframed as performance degradation (deep offsets are slower, no hard cap).",
"Fixed this cycle: Example 1 step 4 filtered the mosdot resource by `סמל_ישוב` (city code), which does NOT exist on that resource. The mosdot resource has `שם ישוב` (city NAME text); the numeric CBS locality code (Tel Aviv 5000, Haifa 4000, Jerusalem 3000) lives in the CBS localities dataset (resource 5c78e9fa-...). Example now filters by city name / q= and points to the localities dataset for codes.",
"Verified live 2026-06-16: all 4 resource IDs resolve with matching counts (vehicles 4.13M, public-transport 65.6k, mosdot 119.8k, amutot 75.2k), all 7 org IDs resolve, datastore_search_sql is WAF-blocked (403 Security Violation). Updated the in-skill verification date.",
"Note on the evidence gate: this skill's example URLs contain percent-encoded Hebrew (q=%D7%AA%D7%9C ...). verify-evidence.py reads byte pairs like %94% as phantom percentages (0%-99%); grounded them via a single percent-encoding-artifacts evidence claim rather than removing the (necessary) encoded URLs.",
"Expert MINOR deferred: metadata.json HE display_description states the no-keyset rule tersely (without the explicit success:false detail the body carries). Acceptable for a description field; optionally expand next cycle."
]
}
]
}
data.gov.il CKAN API Reference
Base URL
https://data.gov.il/api/3/
Authentication
None required (public API).
Key Endpoints
Dataset Discovery
| Endpoint | Method | Description |
|---|---|---|
/action/package_search | GET | Search datasets by keyword |
/action/package_show | GET | Get full dataset details |
/action/package_list | GET | List all dataset IDs |
/action/group_list | GET | List dataset categories |
/action/organization_list | GET | List publishing organizations |
/action/tag_list | GET | List all tags |
Resource Access
| Endpoint | Method | Description |
|---|---|---|
/action/resource_show | GET | Get resource metadata |
/action/datastore_search | GET | Query tabular data |
Search Parameters
q-- Search query stringfq-- Filter query (e.g.,organization:lamas)rows-- Number of results (default 10)start-- Offset for paginationsort-- Sort field and order
Datastore Query Parameters
resource_id-- Resource ID (required)limit-- Maximum records per page (default 100). There is no hard ceiling, but deepoffsetpaging gets progressively slower.offset-- Record offset; the response also returns_links.nextfor the next page.filtersis exact-match only, so there is no_idkeyset paging; use offset, or download the resource CSV for full extractions.fields-- Comma-separated field namesfilters-- JSON object of field:value pairsq-- Full-text search within resourcesort-- Sort field and order (e.g.sort=_id ascfor a stable ordering across offset pages)records_format-- One ofobjects(default),lists,csv,tsv.listsandcsvare noticeably faster for large pulls.
Deprecated Endpoints
| Endpoint | Status | Notes |
|---|---|---|
/action/datastore_search_sql | 403 Forbidden | SQL queries disabled by data.gov.il. Use datastore_search with filters, fields, sort, and q parameters instead. |
Common Organization IDs
Verified against organization_show?id=<id> on 2026-06-16. Stale aliases like cbs, mot, moh, moe, ita return 404 and must not be used.
| Organization | ID | Hebrew |
|---|---|---|
| Central Bureau of Statistics | lamas | הלשכה המרכזית לסטטיסטיקה |
| Ministry of Transportation | ministry_of_transport | משרד התחבורה |
| Ministry of Health | ministry-health | משרד הבריאות |
| Ministry of Education | ministry_of_education | משרד החינוך |
| Israel Tax Authority | taxes-authority | רשות המסים |
| Israel Land Authority | the_israel_lands_administration | רשות מקרקעי ישראל |
| Ministry of Interior | interior_affairs | משרד הפנים |
Run curl -s "https://data.gov.il/api/3/action/organization_list" | head -200 to enumerate the canonical IDs; ministry IDs change without notice.
Response Format
All responses return JSON with:
{
"success": true/false,
"result": {
"total": 0,
"records": [],
"fields": []
},
"error": { ... }
}The result.total field reports the full record count of the resource (not the page); use it to plan pagination.
Rate Limits
Undocumented and enforced by a WAF. A "Security Violation" / 403 response is distinct from a permissions 403: the WAF terminates the session and discards cookies. Recover by backing off exponentially, dropping any session cookies, and retrying with a fresh User-Agent. Implement reasonable delays (1-2 seconds) for bulk queries.
#!/usr/bin/env python3
"""
Query Israeli Government Open Data Portal (data.gov.il)
Standalone utility for searching and querying datasets from
the Israeli government CKAN-based data portal.
Usage:
python query_datagov.py search "schools tel aviv"
python query_datagov.py dataset "dataset-id"
python query_datagov.py query "resource-id" --limit 50 --filters '{"city":"Haifa"}'
python query_datagov.py query "resource-id" --fields "field1,field2" --sort "field1 desc"
python query_datagov.py orgs
"""
import argparse
import json
import sys
import urllib.request
import urllib.parse
import urllib.error
BASE_URL = "https://data.gov.il/api/3"
def api_get(endpoint: str, params: dict = None) -> dict:
"""Make a GET request to the data.gov.il CKAN API."""
url = f"{BASE_URL}/{endpoint}"
if params:
url += "?" + urllib.parse.urlencode(params)
req = urllib.request.Request(url)
req.add_header("User-Agent", "israel-gov-api-skill/1.3.0")
try:
with urllib.request.urlopen(req, timeout=30) as resp:
data = json.loads(resp.read().decode("utf-8"))
if data.get("success"):
return data.get("result", {})
else:
print(f"API error: {data.get('error', 'Unknown error')}", file=sys.stderr)
sys.exit(1)
except urllib.error.HTTPError as e:
print(f"HTTP error {e.code}: {e.reason}", file=sys.stderr)
sys.exit(1)
except urllib.error.URLError as e:
print(f"Connection error: {e.reason}", file=sys.stderr)
sys.exit(1)
def search_datasets(query: str, rows: int = 10) -> None:
"""Search for datasets by keyword."""
result = api_get("action/package_search", {"q": query, "rows": rows})
count = result.get("count", 0)
print(f"Found {count} datasets for '{query}':\n")
for pkg in result.get("results", []):
name = pkg.get("title", pkg.get("name", "Untitled"))
pkg_id = pkg.get("name", "")
org = pkg.get("organization", {}).get("title", "Unknown")
num_resources = len(pkg.get("resources", []))
notes = (pkg.get("notes") or "")[:120]
print(f" [{pkg_id}]")
print(f" Title: {name}")
print(f" Organization: {org}")
print(f" Resources: {num_resources}")
if notes:
print(f" Description: {notes}...")
print()
def show_dataset(dataset_id: str) -> None:
"""Show details of a specific dataset."""
result = api_get("action/package_show", {"id": dataset_id})
print(f"Dataset: {result.get('title', 'Untitled')}")
print(f"ID: {result.get('name', '')}")
print(f"Organization: {result.get('organization', {}).get('title', 'Unknown')}")
print(f"Last modified: {result.get('metadata_modified', 'Unknown')}")
print(f"License: {result.get('license_title', 'Unknown')}")
print()
resources = result.get("resources", [])
print(f"Resources ({len(resources)}):")
for r in resources:
r_name = r.get("name", r.get("description", "Unnamed"))
r_id = r.get("id", "")
r_format = r.get("format", "Unknown")
r_size = r.get("size")
datastore = r.get("datastore_active", False)
print(f" - {r_name}")
print(f" ID: {r_id}")
print(f" Format: {r_format}")
if r_size:
print(f" Size: {r_size}")
print(f" Datastore queryable: {datastore}")
print()
def query_datastore(resource_id: str, limit: int = 50, offset: int = 0,
filters: str = None, fields: str = None,
sort: str = None, q: str = None) -> None:
"""Query a datastore resource."""
params = {
"resource_id": resource_id,
"limit": limit,
"offset": offset,
}
if filters:
params["filters"] = filters
if fields:
params["fields"] = fields
if sort:
params["sort"] = sort
if q:
params["q"] = q
result = api_get("action/datastore_search", params)
total = result.get("total", 0)
records = result.get("records", [])
result_fields = result.get("fields", [])
print(f"Total records: {total}")
print(f"Showing: {len(records)} (offset {offset})")
print(f"Fields: {', '.join(f.get('id', '') for f in result_fields)}")
print()
for i, record in enumerate(records):
print(f"--- Record {offset + i + 1} ---")
for key, value in record.items():
if key != "_id":
print(f" {key}: {value}")
print()
def list_organizations() -> None:
"""List all publishing organizations."""
result = api_get("action/organization_list", {"all_fields": True})
print(f"Organizations ({len(result)}):\n")
for org in result:
if isinstance(org, dict):
name = org.get("display_name", org.get("name", ""))
org_id = org.get("name", "")
count = org.get("package_count", 0)
print(f" {org_id}: {name} ({count} datasets)")
else:
print(f" {org}")
def main():
parser = argparse.ArgumentParser(
description="Query Israeli Government Open Data (data.gov.il)"
)
subparsers = parser.add_subparsers(dest="command", help="Command to run")
# Search
search_parser = subparsers.add_parser("search", help="Search datasets")
search_parser.add_argument("query", help="Search query")
search_parser.add_argument("--rows", type=int, default=10, help="Number of results")
# Dataset details
ds_parser = subparsers.add_parser("dataset", help="Show dataset details")
ds_parser.add_argument("id", help="Dataset ID")
# Datastore query
q_parser = subparsers.add_parser("query", help="Query datastore resource")
q_parser.add_argument("resource_id", help="Resource ID")
q_parser.add_argument("--limit", type=int, default=50, help="Result limit")
q_parser.add_argument("--offset", type=int, default=0, help="Result offset")
q_parser.add_argument("--filters", help='JSON filters (e.g., \'{"field":"value"}\')')
q_parser.add_argument("--fields", help="Comma-separated field names to return")
q_parser.add_argument("--sort", help='Sort order (e.g., "field1 desc")')
q_parser.add_argument("-q", "--search", dest="q", help="Full-text search within resource")
# Organizations
subparsers.add_parser("orgs", help="List organizations")
args = parser.parse_args()
if args.command == "search":
search_datasets(args.query, args.rows)
elif args.command == "dataset":
show_dataset(args.id)
elif args.command == "query":
query_datastore(args.resource_id, args.limit, args.offset,
args.filters, args.fields, args.sort, args.q)
elif args.command == "orgs":
list_organizations()
else:
parser.print_help()
if __name__ == "__main__":
main()
ממשקי API ממשלתיים - ישראל
הוראות
שלב 1: תבינו מה המשתמש צריך
תשאלו את המשתמש:
- באיזה נושא? (תחבורה, בריאות, חינוך, כלכלה וכו')
- באיזה אזור? (ארצי, עיר או אזור ספציפי, כתובת מסוימת)
- באיזו תקופה? (עכשיו, היסטורי, סדרה לאורך זמן)
- באיזה פורמט? (נתונים גולמיים, סטטיסטיקה מסכמת, ויזואליזציה)
שלב 2: חיפוש datasets
תשתמשו ב-API של data.gov.il (מבוסס CKAN) כדי למצוא datasets רלוונטיים:
חיפוש לפי מילת מפתח:
GET https://data.gov.il/api/3/action/package_search?q=KEYWORD&rows=10חיפוש לפי ארגון (משרד ממשלתי):
GET https://data.gov.il/api/3/action/package_search?fq=organization:MINISTRY_IDמזהי ארגונים נפוצים:
| משרד | מזהה | שם באנגלית |
|---|---|---|
| הלשכה המרכזית לסטטיסטיקה | lamas | Central Bureau of Statistics |
| משרד התחבורה | ministry_of_transport | Ministry of Transportation |
| משרד הבריאות | ministry-health | Ministry of Health |
| משרד החינוך | ministry_of_education | Ministry of Education |
| רשות המסים | taxes-authority | Israel Tax Authority |
| רשות מקרקעי ישראל | the_israel_lands_administration | Israel Land Authority |
| משרד הפנים | interior_affairs | Ministry of Interior |
שלב 3: שליפה ושאילתה
אחרי שמצאתם את ה-dataset:
קבלת פרטי dataset:
GET https://data.gov.il/api/3/action/package_show?id=DATASET_IDשאילתה על נתונים טבלאיים (datastore):
GET https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&limit=100סינון לפי ערכי שדות:
GET https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&filters={"field_name":"value"}&limit=100בחירת שדות ספציפיים ומיון:
GET https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&fields=field1,field2&sort=field1 desc&limit=100חיפוש טקסט חופשי במשאב:
GET https://data.gov.il/api/3/action/datastore_search?resource_id=RESOURCE_ID&q=search+term&limit=100שימו לב: ה-endpoint datastore_search_sql לפעמים מושבת ב-data.gov.il (מחזיר 403 Forbidden). תשתמשו ב-datastore_search עם הפרמטרים filters, fields, sort, q, limit ו-offset במקום.
טיפים:
- שמות השדות בדרך כלל בעברית, תריצו
datastore_searchעםlimit=1קודם כדי לראות את שמות השדות - הפרמטר
filtersמקבל אובייקט JSON להתאמה מדויקת (למשלfilters={"city_code":"5000"}) - הפרמטר
qלחיפוש טקסט חופשי בכל השדות - ל-datasets גדולים, תשתמשו ב-
limitו-offsetלדפדוף - שדות תאריך מגיעים בפורמטים שונים, תבדקו את תיעוד ה-dataset
דפדוף (pagination):
- דפדוף offset עמוק נעשה איטי וכבד יותר ככל שמתקדמים ב-datasets גדולים. אין תקרה קשיחה (offset גבוה עדיין מחזיר נתונים), אבל העלות גדלה עם ה-offset.
- דפדפו עם
limit+offset: התגובה מחזירה_links.next(כתובת הדף הבא מבוססת offset) שאפשר לעקוב אחריה, או להגדילoffsetידנית. ה-filtersשל data.gov.il עושה התאמה מדויקת בלבד, ולכן אין keyset/cursor paging על_id:filters={"_id":">N"}מחזירsuccess:false. - לשליפות גדולות מאוד או של טבלה שלמה, הורידו את ה-CSV של המשאב ישירות (
resources[].urlמ-package_show) או השתמשו ב-records_format=csv, במקום לדפדף את כל הטבלה דרך ה-API. - השדה
totalבתגובה הוא ספירה של כל הרשומות במשאב (לא רק בדף), השתמשו בו לתכנון מספר הדפים. - הפרמטר
records_formatמקבל את הערכיםobjects(ברירת מחדל),lists(מערכים לפי מיקום),csvו-tsv.listsו-csvמהירים וזולים בהרבה לשליפות גדולות, כדאי בסטרימינג או חילוץ בכמויות.
שלב 4: ניתוח והצגה
אחרי שיש לכם את הנתונים: 1. תסכמו את הממצאים העיקריים בשפה פשוטה 2. תחשבו סטטיסטיקות בסיסיות אם צריך (ממוצע, חציון, מגמות) 3. תציעו ויזואליזציות (תרשים עמודות, גרף קווי, מפה) שמתאימות לנתונים 4. תציינו את תאריך העדכון האחרון וכל הסתייגות רלוונטית 5. תספקו קישור ישיר ל-dataset ב-data.gov.il
שלב 5: הצלבת נתונים (מתקדם)
כשמשלבים כמה datasets: 1. תזהו מפתחות משותפים (קוד יישוב, תאריך, קוד קטגוריה) 2. תשתמשו בקודים מנהליים ישראליים (קודי יישוב של הלמ"ס) לחיבור גיאוגרפי 3. שימו לב ששמות שדות בין datasets שונים לא תמיד זהים, תתאימו לפי תוכן ולא לפי שם 4. תתעדו את מקור הנתונים: אילו datasets תרמו לניתוח
datasets נפוצים
מזהי המשאבים שלמטה אומתו ב-16/6/2026 מול ה-API החי דרך datastore_search?resource_id=<id>&limit=1. מזהי משאבים ב-data.gov.il כן משתנים בלי התראה, תאמתו אותם מחדש לפני שאתם מצטטים למשתמש.
| dataset | מזהה משאב | תיאור |
|---|---|---|
| כלי רכב פרטיים ומסחריים (רישוי) | 053cea08-09bc-40ec-8f7a-156f0677aff3 | מרשם מלא של לוחיות רישוי של כלי רכב פרטיים ומסחריים, כולל יצרן, דגם ושנה. כ-4.1 מיליון שורות. |
| כלי רכב ציבוריים | cf29862d-ca25-4691-84f6-1be60dcb4a1e | לוחיות רישוי של כלי רכב בתחבורה ציבורית פעילים (אוטובוסים, מוניות). כ-65 אלף שורות. |
מוסדות חינוך (mosdot) | 5548fd63-5868-4053-ad81-98caddc5e232 | מאפייני מוסדות חינוך בפיקוח משרד החינוך. כ-120 אלף שורות. |
| עמותות רשומות | be5b7935-3922-45d4-9638-08871b17ec95 | מרשם משרד המשפטים של עמותות וחברות לתועלת הציבור. כ-75 אלף שורות. |
לתחומים אחרים (GTFS תחבורה ציבורית, עסקאות נדל"ן, מדדי איכות בתי חולים, איכות אוויר), השתמשו ב-package_search כדי לגלות את ה-dataset הנוכחי, ואז ב-package_show כדי לקבל את resources[].id הפעיל. המזהים האלה מתחלפים כשה-dataset מתעדכן משנה לשנה.
דוגמאות
דוגמה 1: חיפוש נתוני בתי ספר (workflow מלא עם שרשור קריאות)
המשתמש אומר: "אני צריך נתונים על בתי ספר בתל אביב"
פעולות (אל תדלגו על שלבי האיתור, מזהי משאבים מתחלפים):
1. חיפוש datasets רלוונטיים:
curl -s "https://data.gov.il/api/3/action/package_search?q=mosdot&rows=5"2. בדיקת ה-dataset שנבחר ושליפת resources[].id הפעיל:
curl -s "https://data.gov.il/api/3/action/package_show?id=mosdot" \
| python3 -c "import sys,json; r=json.load(sys.stdin)['result']['resources']; [print(x['id'], x['format'], x.get('name','')) for x in r]"3. הצצה לשמות שדות עם limit=1:
curl -s "https://data.gov.il/api/3/action/datastore_search?resource_id=5548fd63-5868-4053-ad81-98caddc5e232&limit=1"4. משאב המוסדות חושף את היישוב כשדה שם שם ישוב (טקסט שם היישוב, למשל תל אביב - יפו), לא כקוד מספרי. סננו לפי שם היישוב (או השתמשו ב-q= לחיפוש חופשי); עברית חייבת להיות מקודדת ב-percent-encoding:
# חיפוש חופשי למוסדות בתל אביב (q = "תל אביב", מקודד)
curl -s "https://data.gov.il/api/3/action/datastore_search?resource_id=5548fd63-5868-4053-ad81-98caddc5e232&q=%D7%AA%D7%9C%20%D7%90%D7%91%D7%99%D7%91&limit=100"קוד היישוב המספרי של הלמ"ס (תל אביב-יפו 5000, חיפה 4000, ירושלים 3000) הוא השדה סמל_ישוב, אבל הוא נמצא ב-dataset היישובים של הלמ"ס (משאב 5c78e9fa-c2e2-4771-93ff-7f400a12f7ba), לא במשאב המוסדות. בצעו join לפי שם היישוב כשצריך את הקוד.
תוצאה: רשימת בתי ספר מובנית עבור תל אביב (מספר, סוגים, גדלים).
דוגמה 2: ניתוח מחירי דיור
המשתמש אומר: "הראה לי מגמות מחירי דיור בחיפה"
פעולות: 1. package_search?q=nadlan או q=%D7%A2%D7%A1%D7%A7%D7%90%D7%95%D7%AA כדי לאתר את ה-dataset של עסקאות נדל"ן ברשות המסים. 2. package_show?id=<slug> ושליפת מזהה המשאב של השנה העדכנית מתוך resources[]. 3. datastore_search עם סינון לקוד יישוב חיפה, מסודר לפי תאריך עסקה יורד. 4. קיבוץ לפי חודש, חישוב מחיר חציוני למטר רבוע, חישוב אחוז שינוי חודש מול חודש קודם.
תוצאה: מגמת מחירים חודשית לחיפה עם ניתוח.
דוגמה 3: השוואת נתונים מוניציפליים
המשתמש אומר: "תשווי לי הוצאות חינוך בין ערים בישראל"
פעולות: 1. package_search?q=%D7%AA%D7%A7%D7%A6%D7%99%D7%91%20%D7%97%D7%99%D7%A0%D7%95%D7%9A (תקציב + חינוך בעברית, מקודד). 2. בחירת dataset של תקציבים מוניציפליים, package_show כדי לקבל את מזהה המשאב הפעיל. 3. datastore_search עם סינון לשורות בקטגוריית חינוך; דפדוף עם offset (או הורדת ה-CSV של המשאב) למשאבים גדולים. 4. נרמול לנפש בעזרת נתוני אוכלוסיה של lamas (למ"ס).
תוצאה: השוואה מדורגת של הוצאות חינוך לתלמיד בין רשויות מקומיות גדולות, כולל מקור הנתונים והשנה.
משאבים מצורפים
סקריפטים
scripts/query_datagov.py-- חיפוש datasets, בדיקת משאבים והרצת שאילתות datastore ישירות מול ה-API של data.gov.il (CKAN) משורת הפקודה. תומך בפקודות משנה:search,dataset,query,orgs. להרצה:python scripts/query_datagov.py --help
חומרי עזר
references/ckan-api-reference.md-- קטלוג מלא של endpoints ל-API של data.gov.il (CKAN) כולל פרמטרי חיפוש, תחביר שאילתות datastore ומזהי ארגונים נפוצים. תסתכלו עליו כשאתם בונים קריאות API או מנסים לדבג תחביר של שאילתה.
MCP servers מומלצים
תצמידו את הסקיל ל-MCP server כדי שהסוכן יוכל לקרוא ל-data.gov.il (או ל-dataset נגזר) ישירות ככלים, בלי לבנות קריאות HTTP ידנית.
| MCP | קישור | מה מקבלים |
|---|---|---|
datagov-israel | https://agentskills.co.il/he/mcp/datagov-israel | גישה ישירה ככלי MCP ל-CKAN API של data.gov.il (search, package_show, datastore_search). |
data-gov-il | https://agentskills.co.il/he/mcp/data-gov-il | MCP חלופי שעוטף את אותו CKAN API של data.gov.il. |
israel-vehicles | https://agentskills.co.il/he/mcp/israel-vehicles | MCP ממוקד ל-dataset של רישוי כלי רכב (חיפוש לפי לוחית, יצרן, דגם, שנה). |
israel-amutot | https://agentskills.co.il/he/mcp/israel-amutot | MCP ממוקד למרשם העמותות של משרד המשפטים. |
israel-elections | https://agentskills.co.il/he/mcp/israel-elections | MCP ממוקד לנתוני תוצאות הבחירות בישראל. |
כשהסקיל מנחה את המשתמש דרך שאילתה, תעדיפו את ה-MCP הייעודי אם הוא מותקן; אחרת ליפלו ל-CKAN API הגולמי.
מלכודות נפוצות
- ממשקי API ממשלתיים (data.gov.il) משנים תדיר כתובות URL ומבני endpoints בלי התראה. סוכנים לפעמים מקודדים endpoints שעבדו בחודש שעבר אבל עכשיו מחזירים 404. תאמתו מזהי משאבים מחדש עם
package_showלפני שאתם מצטטים אותם. - ה-API של data.gov.il מחזיר נתונים עם כותרות עמודות בעברית כברירת מחדל. סוכנים עלולים להיכשל בפענוח תגובות עם שמות לא-ASCII ב-JSON או CSV.
- ערכי סינון ופרמטרי
qבעברית חייבים להיות מקודדים ב-UTF-8 percent-encoding. עברית גולמית ב-URL שוברת כמה לקוחות HTTP (חלק מהגרסאות שלcurl, גרסאות ישנות שלrequests, חלק מה-proxies). דוגמה: חיפוש "רכב" כ-q=%D7%A8%D7%9B%D7%91; סינון "חיפה" כ-filters=%7B%22city%22%3A%22%D7%97%D7%99%D7%A4%D7%94%22%7D. - הגבלת הקצב ב-APIs ממשלתיים מחמירה ולא מתועדת. סוכנים ששולחים בקשות רצופות מהר ייחסמו. תוסיפו השהיות בין קריאות.
- תשובה 403 עם גוף
Security Violationהיא ה-WAF של data.gov.il שמסיים את ה-session, זה שונה מ-403 של הרשאה. שחזור: backoff אקספוננציאלי (10ש', 30ש', 60ש'), זריקת cookies של session ושליחה מחדש עםUser-Agentחדש. אל תנסו שוב בלולאה צמודה, ה-WAF יאריך את החסימה. - הרבה datasets ממשלתיים שומרים תאריכים בפורמט DD/MM/YYYY (הפורמט הישראלי), לא ISO 8601. סוכנים עלולים לפענח "01/02/2026" כ-1 בפברואר במקום 2 בינואר.
- דפדוף offset עמוק נעשה איטי יותר ב-datasets גדולים (אין תקרה קשיחה, אבל offset גבוה יקר). data.gov.il לא תומך ב-keyset paging על
_id(ה-filtersעושה התאמה מדויקת בלבד, כך ש-{"_id":">N"}נכשל); לשליפות מלאות, הורידו את ה-CSV של המשאב במקום לדפדף את כל הטבלה.
קישורי עזר
| מקור | כתובת | מה לבדוק |
|---|---|---|
| פורטל data.gov.il | https://data.gov.il | קטלוג מידע פתוח ישראלי, ארגונים, datasets |
| תיעוד CKAN API | https://docs.ckan.org/en/latest/api/ | חתימות package_search, package_show, datastore_search |
| רשימת datasets | https://data.gov.il/dataset | חיפוש לפי ארגון ותגיות |
| הלשכה המרכזית לסטטיסטיקה | https://www.cbs.gov.il | מקור של הרבה מהסטטיסטיקות שמפורסמות ב-data.gov.il |
| נתוני בנק ישראל | https://www.boi.org.il | נתונים כלכליים ומוניטריים שלא נמצאים ב-data.gov.il |
פתרון בעיות
שגיאה: "Dataset not found"
סיבה: מונחי חיפוש ספציפיים מדי או בשפה לא נכונה פתרון: תנסו מילות מפתח רחבות יותר בעברית. רוב הנתונים הממשלתיים הם בעברית.
שגיאה: "Datastore not available"
סיבה: לא לכל המשאבים יש API של datastore מופעל פתרון: תורידו את ה-CSV או Excel ישירות ותעבדו עליו מקומית.
שגיאה: "403 Forbidden" בשאילתות SQL
סיבה: ה-endpoint datastore_search_sql לפעמים מושבת ב-data.gov.il פתרון: תשתמשו ב-datastore_search עם filters, fields, sort ו-q במקום. לדוגמה: datastore_search?resource_id=ID&filters={"city":"Haifa"}&fields=field1,field2&sort=field1 desc&limit=100
שגיאה: "Hebrew field names"
סיבה: רוב ה-datasets הממשלתיים משתמשים בשמות עמודות בעברית פתרון: תריצו שאילתה ראשונה עם limit=1 כדי לראות את כל שמות השדות, ואז תבנו שאילתות ממוקדות.
Related skills
FAQ
Is Israel Gov Api safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.