POST /api/tuik/publications/search
Price: 20 credits
Search TÜİK news bulletins, tables, metadata, reports, databases and publications
Finds where TÜİK published something on a subject; follow url for the document, since text is only the excerpt around the match. Write query in the language set in lang — the wrong pairing still matches, but a fraction of it. years selects the period a statistic is about, not the day it came out, and the two are routinely years apart; published_at carries the release date. Omit query to browse the whole corpus through the filters alone.
access-token string requiredtimeout integer — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)count integer required — Number of publications to return (min: 1)query string nullable — Free text matched against titles and body text (examples: "ihracat", "unemployment", "nüfus"; minLength: 1)types array nullable — Keep only these kinds of content (one of: "press_release", "tables_and_graphics", "metadata", "report", "database", "publication"; examples: ["press_release"])categories array nullable — Keep only these statistical themes (one of: "justice_and_elections", "science_technology_and_information_society", "environment", "education", "energy", "price_statistics", "income_consumption_and_poverty", "employment_unemployment_and_wages", "short_term_economic_indicators", "culture_and_sports", "population_and_demography", "health_and_social_protection", "agriculture", "tourism", "transport_and_communication", "national_accounts", "international_trade", "structural_business_statistics_and_business_demography", "multi_domain_statistics"; examples: ["international_trade"])sub_categories array nullable — Keep only these statistical sub-themes (one of: "justice_statistics", "election_statistics", "information_society_statistics", "science_technology_and_innovation_statistics", "waste_statistics", "water_and_wastewater_statistics", "environmental_accounts", "greenhouse_gas_emission_statistics", "sustainable_development", "human_indexes", "quality_of_life", "education_expenditure_statistics", "school_life_expectancy", "formal_education_statistics", "national_education_statistics", "adult_education_survey", "higher_education_brain_drain_statistics", "higher_education_employment_indicators", "energy_accounts", "energy_consumption_statistics", "services_producer_price_index", "purchasing_power_parity_ppp", "agricultural_products_producer_price_index_agriculture_ppi", "agricultural_input_price_index_aipi", "consumer_price_index_cpi", "non_domestic_producer_price_index_nd_ppi", "domestic_producer_price_index_d_ppi", "construction_cost_index", "income_distribution_statistics", "household_consumption_expenditure_statistics", "special_topics_on_income_and_living_conditions_statistics", "poverty_and_living_conditions_statistics", "labour_input_labour_cost_and_earnings_statistics", "labour_force_statistics", "turnover_indices_industry_construction_trade_services", "rates_of_return_on_financial_investment_instruments", "confidence_indices", "house_and_commercial_property_sales_statistics", "trade_sales_volume_index", "production_indices", "building_permit_statistics", "culture_statistics", "sports_statistics", "address_based_population_registration_system", "family_statistics", "gender_statistics", "child_statistics", "youth_statistics", "population_censuses", "migration_statistics", "life_tables", "vital_statistics", "population_projections", "elderly_statistics", "health_statistics", "social_protection_statistics", "crop_production_statistics", "animal_production_statistics", "fishery_statistics", "agricultural_equipment_and_machinery_statistics", "agricultural_product_producer_prices", "agricultural_holding_structure_statistics", "inbound_and_outbound_tourism_statistics", "household_domestic_tourism_statistics", "tourism_satellite_account", "communication_statistics", "transport_statistics", "supply_and_use_tables_input_output_tables", "regional_accounts", "government_accounts", "quarterly_gross_domestic_product", "institutional_sector_accounts", "annual_gross_domestic_product", "international_trade_in_services_statistics", "international_trade_in_goods_statistics", "entrepreneurship_and_business_demography", "small_and_medium_sized_enterprises_sme_statistics", "financial_intermediary_institution_statistics", "sector_balance_sheets", "annual_industrial_products_prodcom_statistics", "annual_industry_and_services_statistics", "archive", "business_registers", "archive_200", "producer_price_index_for_industry", "selected_topics_related_to_labour_market", "archive_274", "archive_281", "archive_285", "archive_286", "archive_295"; examples: ["international_trade_in_goods_statistics"])years array nullable — Keep only content whose statistics cover these reference years, which is not the year it was released in (examples: [2026,2025])provinces array nullable — Keep only content covering these provinces of Türkiye (one of: "adana", "adiyaman", "afyonkarahisar", "agri", "aksaray", "amasya", "ankara", "antalya", "ardahan", "artvin", "aydin", "balikesir", "bartin", "batman", "bayburt", "bilecik", "bingol", "bitlis", "bolu", "burdur", "bursa", "canakkale", "cankiri", "corum", "denizli", "diyarbakir", "duzce", "edirne", "elazig", "erzincan", "erzurum", "eskisehir", "gaziantep", "giresun", "gumushane", "hakkari", "hatay", "igdir", "isparta", "istanbul", "izmir", "kahramanmaras", "karabuk", "karaman", "kars", "kastamonu", "kayseri", "kirikkale", "kirklareli", "kirsehir", "kilis", "kocaeli", "konya", "kutahya", "malatya", "manisa", "mardin", "mersin", "mugla", "mus", "nevsehir", "nigde", "ordu", "osmaniye", "rize", "sakarya", "samsun", "siirt", "sinop", "sivas", "sanliurfa", "sirnak", "tekirdag", "tokat", "trabzon", "tunceli", "usak", "van", "yalova", "yozgat", "zonguldak"; examples: ["istanbul"])include_archive boolean — Widen the search to withdrawn and superseded content as well as current content (default: false)lang string — Language of the content searched and returned (default: "tr"; one of: "tr", "en")@type string (default: "TuikPublication")url string requiredpublication_title string requiredtype_id integer requiredtype_name string nullablepublished_at string nullabletext string nullablepress_title string nullablepress_url string nullable422 — The request body did not validate Check the fields against this schema. A URN with the wrong prefix is the most common cause.408 — The request ran past its time limit Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.412 — The entity was not found, or a precondition failed Retrying will not help: either the entity does not exist, or the input points at a different one.429 — Too many requests: a rate limit or a usage window is exhausted When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.500 — Something broke on our side Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.529 — Rate limit reached, or the endpoint is overloaded Wait at least 30 seconds, then retry.X-Error — Error message text (present only on error)X-Request-ID — Unique request identifierX-Execution-Time — Execution time in secondsX-Result-Count — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.X-Total-Available-Results — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.X-Warning — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.X-Retry-After — Seconds to wait before retrying. Present only on 429.