{"info":{"_postman_id":"f216041d-4736-4ceb-84df-112795c1b69c","name":"CLEAR Global Language Use Data API","description":"<html><head></head><body><p>CLEAR Global's Language Use Data Platform API contains curated data on language use from across the world. Data is gathered from various public sources, then standardised, aggregated and assesed, providing the best available data for a given location.</p>\n<p>Data is available at three levels of geographic aggregation: Country (also known as Admin 0), Province/State (Admin 1) and District/City (Admin 2).</p>\n<p>Currently data is provided for 'Main language used at home', as a proportion of the population of a location and as a 'rank' i.e. the nth most commonly spoken language in that location. Original sources may list this as 'Primary language' or 'Mother tongue' or other similar terms. Additional indicators such as second or third languages will be added in future updates.</p>\n<p>Data can be retrieved along 2 dimensions as follows:</p>\n<ul>\n<li><p>Locations: data about languages spoken in a given location via the <a href=\"#012efde4-da79-4d07-864a-8263c1994878\">Get data by location </a> endpoint.</p>\n</li>\n<li><p>Languages: data about the locations in which a given language is spoken via the via the <a href=\"#e56623dc-cf48-4bbf-be0e-4d7d2e8670b7\">Get data by language</a> endpoint.</p>\n</li>\n</ul>\n<p>Both endpoints also return metadata about languages, locations and data sources.</p>\n<h3 id=\"classifications\">Classifications</h3>\n<p>Data is aligned where possible to standard classifications for locations and languages.</p>\n<ul>\n<li><p>Locations are aligned to the <a href=\"https://cod.unocha.org/\">UNOCHA Common Operational Datasets</a> and use P-Codes as the primary identifier for locations, where available.</p>\n</li>\n<li><p>Languages are aligned to <a href=\"https://glottolog.org/\">Glottolog</a> and use the Glottocode as the primary identifier.</p>\n</li>\n</ul>\n<p>Languages and locations not found in those classifications will be given a unique id within the Language Use Data Platform. All identifiers in the system, including those from external classification systems above and those unique to this platform can be retrieved using the Get locations and Get languages endpoints below.</p>\n<h3 id=\"pagination\">Pagination</h3>\n<p>Results are paginated and can be accessed using the <code>page</code> and <code>page_size</code> parameters.</p>\n<h3 id=\"authorisation\">Authorisation</h3>\n<p>No authorisation is required to access the data.</p>\n<h3 id=\"more-information\">More information</h3>\n<ul>\n<li><p><a href=\"https://clearglobal.org/language-maps-and-data/\">About</a> for more information about the CLEAR Global Language Use Data Platform, including how the data is collected and processed.</p>\n</li>\n<li><p><a href=\"https://clearglobal.org/language-maps-and-data-5/\">Visualizations</a> for an interactive dashboard of the data.</p>\n</li>\n<li><p>The <a href=\"https://clearglobal.org/\">CLEAR Global website</a> to find out more about CLEAR Global.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"40233063","collectionId":"f216041d-4736-4ceb-84df-112795c1b69c","publishedId":"2sAYBbcoH3","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"9eabb8","highlight":"143878"},"publishDate":"2024-12-08T23:13:34.000Z"},"item":[{"name":"By Location","item":[{"name":"Get data for a location","id":"49e9322a-a808-46cf-82e5-15acba60773d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"ludp.clearglobal.org/public/location/:location_code?page=<int>&page_size=<int>&fields=<array>&aggregation=<int>&language_code=<array>&output=<string>","description":"<p>Retrieve language use data for one or more locations.</p>\n<p>The response will be a JSON object an array of items representing languages spoken in the locations requested with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"reasons\": \"OK\",\n  \"data\": [\n    {\n      \"proportion_value\": &lt;float&gt;,\n      \"language_rank\": &lt;int&gt;,\n      \"language_name\": &lt;string&gt;,\n      \"language_code\":  &lt;string&gt;,\n      \"location_name\":  &lt;string&gt;,\n      \"location_code\":  &lt;string&gt;,\n      \"location_level\": &lt;int&gt;,\n      \"dataset_name\":  &lt;string&gt;,\n      \"url\":  &lt;string&gt;,\n      \"source\":  &lt;string&gt;,\n      \"datetime_published\":  &lt;string&gt;,\n      \"reliability_score\": &lt;float&gt;\n    }\n  ]\n}\n\n</code></pre>\n","urlObject":{"path":["location",":location_code"],"host":["ludp.clearglobal.org/public"],"query":[{"description":{"content":"<p>(Optional) Page number to return. from 0 to N. Default: 0.</p>\n","type":"text/plain"},"key":"page","value":"<int>"},{"description":{"content":"<p>(Optional) Number of records returned per pages. Default: 100. Max: 500.</p>\n","type":"text/plain"},"key":"page_size","value":"<int>"},{"description":{"content":"<p>(Optional) The fields to be returned. Available fields are: proportion_value, language_rank, language_name, language_code, location_name, location_code, location_level, geojson, dataset_name, url,source, datetime_published, reliability_score.  Default: all fields.</p>\n","type":"text/plain"},"key":"fields","value":"<array>"},{"description":{"content":"<p>(Optional) The geographic aggregation level to be returned as a value between 0 and 2 - representing Admin0 (Country level), Admin1 (Province/State), Admin2 (District/City). Defaults to the level of the location_id provided.</p>\n","type":"text/plain"},"key":"aggregation","value":"<int>"},{"description":{"content":"<p>(Optional) Filter the returned records by one or more language codes.</p>\n","type":"text/plain"},"key":"language_code","value":"<array>"},{"description":{"content":"<p>(Optional) Type of output returned. Can be geojson or json. If omitted defaults to json.</p>\n","type":"text/plain"},"key":"output","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) The code of the location or locations requested.  Location codes are P-Codes, as per OCHA Common Operational Datasets. Multiple location codes can be requested separated by commas.</p>\n","type":"text/plain"},"type":"any","value":"<string> <array>","key":"location_code"}]}},"response":[{"id":"31f4a6e2-4611-414e-a379-1674b8b7b495","name":"Get language use data for Benin at country level","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"ludp.clearglobal.org/public/location/:location_code?page=<int>&page_size=<int>&fields=<array>&aggregation=<int>&language_code=<array>","host":["ludp.clearglobal.org/public"],"path":["location",":location_code"],"query":[{"key":"page","value":"<int>","description":"(Optional) Page number to return. from 0 to N. Default: 0."},{"key":"page_size","value":"<int>","description":"(Optional) Number of records returned per pages. Default: 100. Max: 500."},{"key":"fields","value":"<array>","description":"(Optional) The fields to be returned. Available fields are: proportion_value, language_rank, language_name, language_code, location_name, location_code, location_level, dataset_name, url,source, datetime_published, reliability_score.  Default: all fields."},{"key":"aggregation","value":"<int>","description":"(Optional) The geographic aggregation level to be returned as a value between 0 and 2 - representing Admin0 (Country level), Admin1 (Province/State), Admin2 (District/City). Defaults to the level of the location_id provided."},{"key":"language_code","value":"<array>","description":"(Optional) Filter the returned records by one or more language codes."}],"variable":[{"key":"location_code","value":"BEN","description":"(Required) The code of the location or locations requested.  Location codes are P-Codes, as per OCHA Common Operational Datasets. Multiple location codes can be requested separated by commas."}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"status\": 200,\r\n  \"reasons\": \"OK\",\r\n  \"data\": [\r\n    {\r\n      \"proportion_value\": 0.000050803837026638,\r\n      \"language_rank\": 47,\r\n      \"language_name\": \"Manigri-Kambolé Ede Nago\",\r\n      \"language_code\": \"mani1294\",\r\n      \"location_name\": \"Benin\",\r\n      \"location_code\": \"BEN\",\r\n      \"location_level\": 0,\r\n      \"dataset_name\": \"Benin Census 2013 (IPUMS extract)\",\r\n      \"url\": \"https://api.ipums.org/downloads/ipumsi/api/v1/extracts/2404371/ipumsi_00294.sav.gz\",\r\n      \"source\": \"IPUMS International\",\r\n      \"datetime_published\": \"12-31-2013\",\r\n      \"datetime_downloaded\": \"11-18-2024\",\r\n      \"reliability_score\": 45.0102739726027\r\n    },\r\n    {\r\n      \"proportion_value\": 0.0137651659480598,\r\n      \"language_rank\": 16,\r\n      \"language_name\": \"Ifè\",\r\n      \"language_code\": \"ifee1241\",\r\n      \"location_name\": \"Benin\",\r\n      \"location_code\": \"BEN\",\r\n      \"location_level\": 0,\r\n      \"dataset_name\": \"Benin Census 2013 (IPUMS extract)\",\r\n      \"source\": \"IPUMS International\",\r\n      \"reliability_score\": 45.0102739726027\r\n    }\r\n  ]"},{"id":"486847a8-325f-43f0-b37e-0a05a8e7db76","name":"Unknown location","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"ludp.clearglobal.org/public/location/:location_code?page=<int>&page_size=<int>&fields=<array>&aggregation=<int>&language_code=<array>","host":["ludp.clearglobal.org/public"],"path":["location",":location_code"],"query":[{"key":"page","value":"<int>","description":"(Optional) Page number to return. from 0 to N. Default: 0."},{"key":"page_size","value":"<int>","description":"(Optional) Number of records returned per pages. Default: 100. Max: 500."},{"key":"fields","value":"<array>","description":"(Optional) The fields to be returned. Available fields are: proportion_value, language_rank, language_name, language_code, location_name, location_code, location_level, dataset_name, url,source, datetime_published, reliability_score.  Default: all fields."},{"key":"aggregation","value":"<int>","description":"(Optional) The geographic aggregation level to be returned as a value between 0 and 2 - representing Admin0 (Country level), Admin1 (Province/State), Admin2 (District/City). Defaults to the level of the location_id provided."},{"key":"language_code","value":"<array>","description":"(Optional) Filter the returned records by one or more language codes."}],"variable":[{"key":"location_code","value":"XXX","description":"(Required) The code of the location or locations requested.  Location codes are P-Codes, as per OCHA Common Operational Datasets. Multiple location codes can be requested separated by commas."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n  \"status\": 500,\r\n  \"reasons\": \"['tag'] locations codes are unknown.\"\r\n}"}],"_postman_id":"49e9322a-a808-46cf-82e5-15acba60773d"},{"name":"Get locations (post)","id":"5edfc0e5-ad4d-4d80-8592-572431687189","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"page\": <int>,\r\n    \"page_size\": <int>,\r\n    \"fields\": [<string>,<string>\r\n    ], conds: [\r\n        [\r\n           <string>,\r\n            <string>,\r\n            <string>\r\n        ]\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"ludp.clearglobal.org/public/locations/?page=<int>&page_size=<int>&fields=<array>&conds=<array><string><string><any>","description":"<p>Retrieve location names and codes. Used to identify necessary codes for the data by location or data by language endpoints.</p>\n<p>The response will be a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"reasons\": \"OK\",\n  \"data\": [\n      {\n      \"location_id\": &lt;int&gt;,\n      \"location_name\": &lt;string&gt;,\n      \"location_code\":  &lt;string&gt;,\n      \"location_level\": &lt;int&gt;\n    }\n  ]\n}\n\n</code></pre>\n","urlObject":{"path":["locations",""],"host":["ludp.clearglobal.org/public"],"query":[{"description":{"content":"<p>(Optional) Page number to return. from 0 to N. Default: 0.</p>\n","type":"text/plain"},"key":"page","value":"<int>"},{"description":{"content":"<p>(Optional) Number of records returned per pages. Default: 100. Max: 500.</p>\n","type":"text/plain"},"key":"page_size","value":"<int>"},{"description":{"content":"<p>(Optional) The fields to be returned. Available fields are:  location_name, location_code, location_level.  Default: all fields.</p>\n","type":"text/plain"},"key":"fields","value":"<array>"},{"description":{"content":"<p>(Optional) Filter the returned records with conditions. A list of condition can be represented as follows: [[\"fieldname\", \"operator\", VALUE], [\"fieldname\", \"operator\", VALUE], ...] Any conditions are viable as long as:</p>\n<ul>\n<li>Fieldname relate to an existing field of the queried table (see fields above)</li>\n<li>Operator is a known SQL operator. All accepted operator are: \"=\", \"!=\", \"&gt;\", \"&gt;=\", \"&lt;\", \"&lt;=\", \"like\", \"ilike\", \"not_like\", \"not_ilike\", \"in\", \"not_in\", \"is\", \"is_not\"</li>\n<li>The provided value is a primitive understanble by SQL ( such as BOOLEAN, STRING, INT)</li>\n</ul>\n","type":"text/plain"},"key":"conds","value":"<array><string><string><any>"}],"variable":[]}},"response":[{"id":"1ba8ce25-4966-4ddd-8130-b687464a922d","name":"Search for location code for 'benin'","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"page\": 0,\r\n    \"page_size\": 200,\r\n    \"fields\": [\r\n        \"location_code\",\r\n        \"location_name\",\r\n        \"location_level\"\r\n    ],\r\n    \"conds\": [\r\n        [\r\n            \"location_name\",\r\n            \"ilike\",\r\n            \"%benin%\"\r\n        ],\r\n        [\r\n            \"location_level\",\r\n            \"=\",\r\n            0\r\n        ]\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"ludp.clearglobal.org/public/locations/","host":["ludp.clearglobal.org/public"],"path":["locations",""],"query":[{"key":"page","value":"<int>","description":"(Optional) Page number to return. from 0 to N. Default: 0.","disabled":true},{"key":"page_size","value":"<int>","description":"(Optional) Number of records returned per pages. Default: 100. Max: 500.","disabled":true},{"key":"fields","value":"<array>","description":"(Optional) The fields to be returned. Available fields are:  location_name, location_code, location_level.  Default: all fields.","disabled":true},{"key":"conds","value":"<array><string><string><any>","description":"(Optional) Filter the returned records with conditions. A list of condition can be represented as follows: [[\"fieldname\", \"operator\", VALUE], [\"fieldname\", \"operator\", VALUE], ...] Any conditions are viable as long as:\n - Fieldname relate to an existing field of the queried table (see fields above)\n - Operator is a known SQL operator. All accepted operator are: \"=\", \"!=\", \">\", \">=\", \"<\", \"<=\", \"like\", \"ilike\", \"not_like\", \"not_ilike\", \"in\", \"not_in\", \"is\", \"is_not\"\n - The provided value is a primitive understanble by SQL ( such as BOOLEAN, STRING, INT)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 200,\r\n    \"reasons\": \"OK\",\r\n    \"data\": [\r\n        {\r\n            \"location_code\": \"BEN\",\r\n            \"location_name\": \"Benin\",\r\n            \"location_level\": 0\r\n        }\r\n    ]\r\n}"}],"_postman_id":"5edfc0e5-ad4d-4d80-8592-572431687189"},{"name":"Get locations","id":"25bfa9da-17f1-4d3f-a8c9-3c5315825757","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"ludp.clearglobal.org/public/locations/?page=<int>&page_size=<int>&fields=<array>","description":"<p>Retrieve location names and codes. Used to identify necessary codes for the data by location or data by language endpoints.</p>\n<p>The response will be a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"reasons\": \"OK\",\n  \"data\": [\n      {\n      \"location_id\": &lt;int&gt;,\n      \"location_name\": &lt;string&gt;,\n      \"location_code\":  &lt;string&gt;,\n      \"location_level\": &lt;int&gt;\n    }\n  ]\n}\n\n</code></pre>\n","urlObject":{"path":["locations",""],"host":["ludp.clearglobal.org/public"],"query":[{"description":{"content":"<p>(Optional) Page number to return. from 0 to N. Default: 0.</p>\n","type":"text/plain"},"key":"page","value":"<int>"},{"description":{"content":"<p>(Optional) Number of records returned per pages. Default: 100. Max: 500.</p>\n","type":"text/plain"},"key":"page_size","value":"<int>"},{"description":{"content":"<p>(Optional) The fields to be returned. Available fields are:  location_name, location_code, location_level.  Default: all fields.</p>\n","type":"text/plain"},"key":"fields","value":"<array>"}],"variable":[]}},"response":[{"id":"ac0bc00d-8331-4340-8575-ea6649a5b3fc","name":"Get all locations","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"ludp.clearglobal.org/public/locations/?page=0&page_size=10&fields=location_name,location_code,location_level","host":["ludp.clearglobal.org/public"],"path":["locations",""],"query":[{"key":"page","value":"0","description":"(Optional) Page number to return. from 0 to N. Default: 0."},{"key":"page_size","value":"10","description":"(Optional) Number of records returned per pages. Default: 100. Max: 500."},{"key":"fields","value":"location_name,location_code,location_level","description":"(Optional) The fields to be returned. Available fields are:  location_name, location_code, location_level.  Default: all fields."}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 200,\r\n    \"reasons\": \"OK\",\r\n    \"data\": [\r\n        {\r\n            \"location_name\": \"Afghanistan\",\r\n            \"location_code\": \"AFG\",\r\n            \"location_level\": 0\r\n        },\r\n        {\r\n            \"location_name\": \"Åland Islands\",\r\n            \"location_code\": \"ALA\",\r\n            \"location_level\": 0\r\n        },\r\n        {\r\n            \"location_name\": \"Albania\",\r\n            \"location_code\": \"ALB\",\r\n            \"location_level\": 0\r\n        },\r\n        {\r\n            \"location_name\": \"Algeria\",\r\n            \"location_code\": \"DZA\",\r\n            \"location_level\": 0\r\n        },\r\n        {\r\n            \"location_name\": \"American Samoa\",\r\n            \"location_code\": \"ASM\",\r\n            \"location_level\": 0\r\n        },\r\n        {\r\n            \"location_name\": \"Andorra\",\r\n            \"location_code\": \"AND\",\r\n            \"location_level\": 0\r\n        },\r\n        {\r\n            \"location_name\": \"Angola\",\r\n            \"location_code\": \"AGO\",\r\n            \"location_level\": 0\r\n        },\r\n        {\r\n            \"location_name\": \"Anguilla\",\r\n            \"location_code\": \"AIA\",\r\n            \"location_level\": 0\r\n        },\r\n        {\r\n            \"location_name\": \"Antarctica\",\r\n            \"location_code\": \"ATA\",\r\n            \"location_level\": 0\r\n        },\r\n        {\r\n            \"location_name\": \"Antigua and Barbuda\",\r\n            \"location_code\": \"ATG\",\r\n            \"location_level\": 0\r\n        }\r\n    ]\r\n}"}],"_postman_id":"25bfa9da-17f1-4d3f-a8c9-3c5315825757"}],"id":"012efde4-da79-4d07-864a-8263c1994878","description":"<p>Retrieve data about one or more locations and the languages used there.</p>\n","_postman_id":"012efde4-da79-4d07-864a-8263c1994878"},{"name":"By Language","item":[{"name":"Get data for a language","id":"37bd3427-8fa2-406e-9101-f40bda4b532e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"ludp.clearglobal.org/public/language/:language_code?page=<int>&page_size=<int>&fields=<array>&location_code=<array>&output=<string>","description":"<p>Retrieve language use data for a language or languages.</p>\n<p>The response will be a JSON object an array of items representing locations in which the language requested is spoken with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"reasons\": \"OK\",\n  \"data\": [\n    {\n      \"proportion_value\": &lt;float&gt;,\n      \"language_rank\": &lt;int&gt;,\n      \"language_name\": &lt;string&gt;,\n      \"language_code\":  &lt;string&gt;,\n      \"location_name\":  &lt;string&gt;,\n      \"location_code\":  &lt;string&gt;,\n      \"location_level\": &lt;int&gt;,\n      \"dataset_name\":  &lt;string&gt;,\n      \"url\":  &lt;string&gt;,\n      \"source\":  &lt;string&gt;,\n      \"datetime_published\":  &lt;string&gt;,\n      \"reliability_score\": &lt;float&gt;\n    }\n  ]\n}\n\n</code></pre>\n","urlObject":{"path":["language",":language_code"],"host":["ludp.clearglobal.org/public"],"query":[{"description":{"content":"<p>(Optional) Page number to return. from 0 to N. Default: 0.</p>\n","type":"text/plain"},"key":"page","value":"<int>"},{"description":{"content":"<p>(Optional) Number of records returned per pages. Default: 100. Max: 500.</p>\n","type":"text/plain"},"key":"page_size","value":"<int>"},{"description":{"content":"<p>(Optional) The fields to be returned. Available fields are: proportion_value, language_rank, language_name, language_code, location_name, location_code, location_level, dataset_name, url,source, datetime_published, reliability_score.  Default: all fields.</p>\n","type":"text/plain"},"key":"fields","value":"<array>"},{"description":{"content":"<p>(Optional) Filter the returned records by one or more location codes.</p>\n","type":"text/plain"},"key":"location_code","value":"<array>"},{"description":{"content":"<p>(Optional) Type of output returned. Can be geojson or json. If omitted defaults to json.</p>\n","type":"text/plain"},"key":"output","value":"<string>"}],"variable":[{"description":{"content":"<p>(Required) The code of the language or languages requested.  Language codes are glottocode as per Glottolog. Multiple language codes can be requested separated by commas.</p>\n","type":"text/plain"},"type":"any","value":"","key":"language_code"}]}},"response":[{"id":"e657cae1-99ad-4d30-8bc5-3f8bb6a0d211","name":"Get data for Hassaniyya (hass1238)","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"ludp.clearglobal.org/public/language/:language_code?page=0&page_size=10&fields=proportion_value, language_rank, language_name, language_code, location_name, location_code, location_level, dataset_name, url,source, datetime_published, reliability_score","host":["ludp.clearglobal.org/public"],"path":["language",":language_code"],"query":[{"key":"page","value":"0","description":"(Optional) Page number to return. from 0 to N. Default: 0."},{"key":"page_size","value":"10","description":"(Optional) Number of records returned per pages. Default: 100. Max: 500."},{"key":"fields","value":"proportion_value, language_rank, language_name, language_code, location_name, location_code, location_level, dataset_name, url,source, datetime_published, reliability_score","description":"(Optional) The fields to be returned. Available fields are: proportion_value, language_rank, language_name, language_code, location_name, location_code, location_level, dataset_name, url,source, datetime_published, reliability_score.  Default: all fields."},{"key":"location_code","value":"<array>","description":"(Optional) Filter the returned records by one or more location codes.","disabled":true}],"variable":[{"key":"language_code","value":"hass1238","description":"(Required) The code of the language or languages requested.  Language codes are glottocode as per Glottolog. Multiple language codes can be requested separated by commas."}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 200,\r\n    \"reasons\": \"OK\",\r\n    \"data\": [\r\n        {\r\n            \"proportion_value\": 0.003242672955486944,\r\n            \"language_rank\": 5,\r\n            \"language_name\": \"Hassaniyya\",\r\n            \"language_code\": \"hass1238\",\r\n            \"location_name\": \"Beni Mellal\",\r\n            \"location_code\": \"MA001002\",\r\n            \"location_level\": 2,\r\n            \"dataset_name\": \"Morocco Census 2014 (IPUMS extract)\",\r\n            \"url\": \"https://api.ipums.org/downloads/ipumsi/api/v1/extracts/2404370/ipumsi_00293.sav.gz\",\r\n            \"source\": \"IPUMS International\",\r\n            \"datetime_published\": \"12-31-2014\",\r\n            \"reliability_score\": 43.26027397260274\r\n        },\r\n        {\r\n            \"proportion_value\": 0.003636264958888497,\r\n            \"language_rank\": 4,\r\n            \"language_name\": \"Hassaniyya\",\r\n            \"language_code\": \"hass1238\",\r\n            \"location_name\": \"Khouribga\",\r\n            \"location_code\": \"MA001005\",\r\n            \"location_level\": 2,\r\n            \"dataset_name\": \"Morocco Census 2014 (IPUMS extract)\",\r\n            \"url\": \"https://api.ipums.org/downloads/ipumsi/api/v1/extracts/2404370/ipumsi_00293.sav.gz\",\r\n            \"source\": \"IPUMS International\",\r\n            \"datetime_published\": \"12-31-2014\",\r\n            \"reliability_score\": 43.26027397260274\r\n        },\r\n        {\r\n            \"proportion_value\": 0.01274296787832521,\r\n            \"language_rank\": 4,\r\n            \"language_name\": \"Hassaniyya\",\r\n            \"language_code\": \"hass1238\",\r\n            \"location_name\": \"Guelmim\",\r\n            \"location_code\": \"MA005002\",\r\n            \"location_level\": 2,\r\n            \"dataset_name\": \"Morocco Census 2014 (IPUMS extract)\",\r\n            \"url\": \"https://api.ipums.org/downloads/ipumsi/api/v1/extracts/2404370/ipumsi_00293.sav.gz\",\r\n            \"source\": \"IPUMS International\",\r\n            \"datetime_published\": \"12-31-2014\",\r\n            \"reliability_score\": 43.26027397260274\r\n        },\r\n        {\r\n            \"proportion_value\": 0.0005139626520472845,\r\n            \"language_rank\": 5,\r\n            \"language_name\": \"Hassaniyya\",\r\n            \"language_code\": \"hass1238\",\r\n            \"location_name\": \"Sidi Ifni\",\r\n            \"location_code\": \"MA005004\",\r\n            \"location_level\": 2,\r\n            \"dataset_name\": \"Morocco Census 2014 (IPUMS extract)\",\r\n            \"url\": \"https://api.ipums.org/downloads/ipumsi/api/v1/extracts/2404370/ipumsi_00293.sav.gz\",\r\n            \"source\": \"IPUMS International\",\r\n            \"datetime_published\": \"12-31-2014\",\r\n            \"reliability_score\": 43.26027397260274\r\n        },\r\n        {\r\n            \"proportion_value\": 0.015957446808510637,\r\n            \"language_rank\": 4,\r\n            \"language_name\": \"Hassaniyya\",\r\n            \"language_code\": \"hass1238\",\r\n            \"location_name\": \"guelmimouednoun: level 2 unknown\",\r\n            \"location_code\": \"MA005XXX\",\r\n            \"location_level\": 2,\r\n            \"dataset_name\": \"Morocco Census 2014 (IPUMS extract)\",\r\n            \"url\": \"https://api.ipums.org/downloads/ipumsi/api/v1/extracts/2404370/ipumsi_00293.sav.gz\",\r\n            \"source\": \"IPUMS International\",\r\n            \"datetime_published\": \"12-31-2014\",\r\n            \"reliability_score\": 43.26027397260274\r\n        },\r\n        {\r\n            \"proportion_value\": 0.028851909493595115,\r\n            \"language_rank\": 4,\r\n            \"language_name\": \"Hassaniyya\",\r\n            \"language_code\": \"hass1238\",\r\n            \"location_name\": \"Tan-Tan\",\r\n            \"location_code\": \"MA005003\",\r\n            \"location_level\": 2,\r\n            \"dataset_name\": \"Morocco Census 2014 (IPUMS extract)\",\r\n            \"url\": \"https://api.ipums.org/downloads/ipumsi/api/v1/extracts/2404370/ipumsi_00293.sav.gz\",\r\n            \"source\": \"IPUMS International\",\r\n            \"datetime_published\": \"12-31-2014\",\r\n            \"reliability_score\": 43.26027397260274\r\n        },\r\n        {\r\n            \"proportion_value\": 0.001412929748968108,\r\n            \"language_rank\": 5,\r\n            \"language_name\": \"Hassaniyya\",\r\n            \"language_code\": \"hass1238\",\r\n            \"location_name\": \"Beni Mellal-Khenifra\",\r\n            \"location_code\": \"MA001\",\r\n            \"location_level\": 1,\r\n            \"dataset_name\": \"Morocco Census 2014 (IPUMS extract)\",\r\n            \"url\": \"https://api.ipums.org/downloads/ipumsi/api/v1/extracts/2404370/ipumsi_00293.sav.gz\",\r\n            \"source\": \"IPUMS International\",\r\n            \"datetime_published\": \"12-31-2014\",\r\n            \"reliability_score\": 43.26027397260274\r\n        },\r\n        {\r\n            \"proportion_value\": 0.014773776546629732,\r\n            \"language_rank\": 4,\r\n            \"language_name\": \"Hassaniyya\",\r\n            \"language_code\": \"hass1238\",\r\n            \"location_name\": \"Guelmim-Oued Noun\",\r\n            \"location_code\": \"MA005\",\r\n            \"location_level\": 1,\r\n            \"dataset_name\": \"Morocco Census 2014 (IPUMS extract)\",\r\n            \"url\": \"https://api.ipums.org/downloads/ipumsi/api/v1/extracts/2404370/ipumsi_00293.sav.gz\",\r\n            \"source\": \"IPUMS International\",\r\n            \"datetime_published\": \"12-31-2014\",\r\n            \"reliability_score\": 43.26027397260274\r\n        },\r\n        {\r\n            \"proportion_value\": 0.0002459994604472801,\r\n            \"language_rank\": 6,\r\n            \"language_name\": \"Hassaniyya\",\r\n            \"language_code\": \"hass1238\",\r\n            \"location_name\": \"Morocco\",\r\n            \"location_code\": \"MAR\",\r\n            \"location_level\": 0,\r\n            \"dataset_name\": \"Morocco Census 2014 (IPUMS extract)\",\r\n            \"url\": \"https://api.ipums.org/downloads/ipumsi/api/v1/extracts/2404370/ipumsi_00293.sav.gz\",\r\n            \"source\": \"IPUMS International\",\r\n            \"datetime_published\": \"12-31-2014\",\r\n            \"reliability_score\": 43.26027397260274\r\n        },\r\n        {\r\n            \"proportion_value\": 0.0027596267234171194,\r\n            \"language_rank\": 12,\r\n            \"language_name\": \"Hassaniyya\",\r\n            \"language_code\": \"hass1238\",\r\n            \"location_name\": \"Dakar\",\r\n            \"location_code\": \"SN0101\",\r\n            \"location_level\": 2,\r\n            \"dataset_name\": \"Senegal Census 2013 (IPUMS extract)\",\r\n            \"url\": \"https://api.ipums.org/downloads/ipumsi/api/v1/extracts/2404373/ipumsi_00295.sav.gz\",\r\n            \"source\": \"IPUMS International\",\r\n            \"datetime_published\": \"12-31-2013\",\r\n            \"reliability_score\": 43.01027397260274\r\n        }\r\n    ]\r\n}"}],"_postman_id":"37bd3427-8fa2-406e-9101-f40bda4b532e"},{"name":"Get languages (post)","id":"e4004234-cb67-45e0-8a97-8b8534d0edc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"ludp.clearglobal.org/public/languages/?page=<int>&page_size=<int>&fields=<array>&conds=<array><string><string><any>","description":"<p>Retrieve language names and codes. Used to identify necessary codes for the data by location or data by language endpoints.</p>\n<p>The response will be a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"reasons\": \"OK\",\n  \"data\": [\n      {\n      \"language_id\": &lt;int&gt;,\n      \"language_name\": &lt;string&gt;,\n      \"language_code\":  &lt;string&gt;\n    }\n  ]\n}\n\n</code></pre>\n","urlObject":{"path":["languages",""],"host":["ludp.clearglobal.org/public"],"query":[{"description":{"content":"<p>(Optional) Page number to return. from 0 to N. Default: 0.</p>\n","type":"text/plain"},"key":"page","value":"<int>"},{"description":{"content":"<p>(Optional) Number of records returned per pages. Default: 100. Max: 500.</p>\n","type":"text/plain"},"key":"page_size","value":"<int>"},{"description":{"content":"<p>(Optional) The fields to be returned. Available fields are:  location_name, location_code, location_level.  Default: all fields.</p>\n","type":"text/plain"},"key":"fields","value":"<array>"},{"description":{"content":"<p>(Optional) Filter the returned records with conditions. A list of condition can be represented as follows: [[\"fieldname\", \"operator\", VALUE], [\"fieldname\", \"operator\", VALUE], ...] Any conditions are viable as long as:</p>\n<ul>\n<li>Fieldname relate to an existing field of the queried table (see fields above)</li>\n<li>Operator is a known SQL operator. All accepted operator are: \"=\", \"!=\", \"&gt;\", \"&gt;=\", \"&lt;\", \"&lt;=\", \"like\", \"ilike\", \"not_like\", \"not_ilike\", \"in\", \"not_in\", \"is\", \"is_not\"</li>\n<li>The provided value is a primitive understanble by SQL ( such as BOOLEAN, STRING, INT)</li>\n</ul>\n","type":"text/plain"},"key":"conds","value":"<array><string><string><any>"}],"variable":[]}},"response":[{"id":"1d245d46-b914-4fe0-9ba1-32c88bfaa5be","name":"Search for language code for Hassaniyya","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","disabled":true},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"page\": 0,\r\n    \"page_size\": 10,\r\n    \"fields\": [\r\n        \"language_code\",\r\n        \"language_name\"\r\n    ],\r\n    \"conds\": [\r\n        [\r\n            \"language_name\",\r\n            \"ilike\",\r\n            \"%hassaniyya%\"\r\n        ]\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"ludp.clearglobal.org/public/languages/","host":["ludp.clearglobal.org/public"],"path":["languages",""],"query":[{"key":"page","value":"<int>","description":"(Optional) Page number to return. from 0 to N. Default: 0.","disabled":true},{"key":"page_size","value":"<int>","description":"(Optional) Number of records returned per pages. Default: 100. Max: 500.","disabled":true},{"key":"fields","value":"<array>","description":"(Optional) The fields to be returned. Available fields are:  location_name, location_code, location_level.  Default: all fields.","disabled":true},{"key":"conds","value":"<array><string><string><any>","description":"(Optional) Filter the returned records with conditions. A list of condition can be represented as follows: [[\"fieldname\", \"operator\", VALUE], [\"fieldname\", \"operator\", VALUE], ...] Any conditions are viable as long as:\n - Fieldname relate to an existing field of the queried table (see fields above)\n - Operator is a known SQL operator. All accepted operator are: \"=\", \"!=\", \">\", \">=\", \"<\", \"<=\", \"like\", \"ilike\", \"not_like\", \"not_ilike\", \"in\", \"not_in\", \"is\", \"is_not\"\n - The provided value is a primitive understanble by SQL ( such as BOOLEAN, STRING, INT)","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 200,\r\n    \"reasons\": \"OK\",\r\n    \"data\": [\r\n        {\r\n            \"language_code\": \"hass1238\",\r\n            \"language_name\": \"Hassaniyya\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"e4004234-cb67-45e0-8a97-8b8534d0edc6"},{"name":"Get languages","id":"501e8743-3389-4de9-9203-e9134a6044da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"ludp.clearglobal.org/public/languages/?page=<int>&page_size=<int>&fields=<array>","description":"<p>Retrieve language names and codes. Used to identify necessary codes for the data by location or data by language endpoints.</p>\n<p>The response will be a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": 200,\n  \"reasons\": \"OK\",\n  \"data\": [\n      {\n      \"language_id\": &lt;int&gt;,\n      \"language_name\": &lt;string&gt;,\n      \"language_code\":  &lt;string&gt;\n    }\n  ]\n}\n\n</code></pre>\n","urlObject":{"path":["languages",""],"host":["ludp.clearglobal.org/public"],"query":[{"description":{"content":"<p>(Optional) Page number to return. from 0 to N. Default: 0.</p>\n","type":"text/plain"},"key":"page","value":"<int>"},{"description":{"content":"<p>(Optional) Number of records returned per pages. Default: 100. Max: 500.</p>\n","type":"text/plain"},"key":"page_size","value":"<int>"},{"description":{"content":"<p>(Optional) The fields to be returned. Available fields are:  language_code, language_name.  Default: all fields.</p>\n","type":"text/plain"},"key":"fields","value":"<array>"}],"variable":[]}},"response":[{"id":"68f7206d-f44f-4e84-a849-b192a09facca","name":"Get languages","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"ludp.clearglobal.org/public/languages/?page=0&page_size=10","host":["ludp.clearglobal.org/public"],"path":["languages",""],"query":[{"key":"page","value":"0","description":"(Optional) Page number to return. from 0 to N. Default: 0."},{"key":"page_size","value":"10","description":"(Optional) Number of records returned per pages. Default: 100. Max: 500."},{"key":"fields","value":"<array>","description":"(Optional) The fields to be returned. Available fields are:  language_code, language_name.  Default: all fields.","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\r\n    \"status\": 200,\r\n    \"reasons\": \"OK\",\r\n    \"data\": [\r\n        {\r\n            \"language_id\": 1,\r\n            \"language_name\": \"Nding\",\r\n            \"language_code\": \"ndin1245\"\r\n        },\r\n        {\r\n            \"language_id\": 2,\r\n            \"language_name\": \"Tasomi-Tata\",\r\n            \"language_code\": \"talo1250\"\r\n        },\r\n        {\r\n            \"language_id\": 3,\r\n            \"language_name\": \"Tocho\",\r\n            \"language_code\": \"toch1257\"\r\n        },\r\n        {\r\n            \"language_id\": 4,\r\n            \"language_name\": \"Acheron\",\r\n            \"language_code\": \"ache1245\"\r\n        },\r\n        {\r\n            \"language_id\": 5,\r\n            \"language_name\": \"Ngile\",\r\n            \"language_code\": \"ngil1242\"\r\n        },\r\n        {\r\n            \"language_id\": 6,\r\n            \"language_name\": \"Dagik\",\r\n            \"language_code\": \"dagi1241\"\r\n        },\r\n        {\r\n            \"language_id\": 7,\r\n            \"language_name\": \"Jaru (Papua New Guinea)\",\r\n            \"language_code\": \"jaru1255\"\r\n        },\r\n        {\r\n            \"language_id\": 8,\r\n            \"language_name\": \"Jinjo\",\r\n            \"language_code\": \"jinj1238\"\r\n        },\r\n        {\r\n            \"language_id\": 9,\r\n            \"language_name\": \"Abaletti\",\r\n            \"language_code\": \"abal1238\"\r\n        },\r\n        {\r\n            \"language_id\": 10,\r\n            \"language_name\": \"Bou\",\r\n            \"language_code\": \"bouu1238\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"501e8743-3389-4de9-9203-e9134a6044da"}],"id":"e56623dc-cf48-4bbf-be0e-4d7d2e8670b7","description":"<p>Retrieve data about one or more languages and the locations it is used in.</p>\n","_postman_id":"e56623dc-cf48-4bbf-be0e-4d7d2e8670b7"}],"event":[{"listen":"prerequest","script":{"id":"c9171400-7e31-4c63-aef8-aacb120cefc8","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"13f2a0df-fe1b-4791-8551-3e501240330a","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"baseUrl","value":"ludp.clearglobal.org/public"}]}