LogoLogo
  • What Is Junkipedia?
    • Introduction
    • What You Can Do
    • What You Can't Do
    • Tip-Issue-Narrative Pipeline
  • Getting Started
    • Managing Your Team
      • Inviting New Users
      • Managing Your Organization
    • Setting Up Tiplines
      • Creating A New Tipline
      • Configuring Tipline Properties
        • Hosting A Web Tipline
        • Hosting An Email Tipline
        • Hosting An SMS Tipline
        • Hosting A Whatsapp Tipline
        • Hosting A Slack Tipline
        • Hosting An API Tipline
      • Embedding A Tipline Form
      • Sharing A Tipline Via QR Code
      • Enabling Inbound Tip Review
      • Disabling A Tipline
      • Adding Default Topics & Tags (wip)
      • Reviewing Tips
    • Reporting And Documenting Misinformation
      • Submitting Tips Within Junkipedia
      • Using Tiplines Outside Of Junkipedia
        • Submit A Tip via SMS
        • Submit A Tip via Email
        • Submit A Tip Via WhatsApp
        • Submit A Tip via Slack
        • Submit A Tip via Web Form
        • Submit Tips Via API
      • Editing An Issue
        • The "Edit Issue" Form
        • What To Include
        • Adding More Tips To An Issue
        • Editing Within The Issues List
          • Issue Title & Description
          • Adding Tags To An Issue
          • Linking Issues To Narratives
    • Reviewing Tracked Content
      • Searching For Issues
      • Filtering Issues
      • Creating Saved Search Alerts
    • Managing Narratives
      • Adding Issues To A Narrative
      • Describing A Narrative
      • Preparing A Response
      • Making A Narrative Public
    • Social Media Monitoring
      • Introducing The Junkipedia Monitoring System
      • Searching The Database
      • Following Public Lists
      • Building Your Own Lists
      • Edit an Existing List
      • Sharing your lists
      • Using Actor Sets
  • Reference Material
    • Glossary
    • API
      • Using Your API Key
      • Query String Parameters
        • Text Search Parameters
        • Engagement Filters
        • Pagination
        • Post Type And Platform
        • Time Filters
        • Language Code
        • Channel Properties
        • Exclude
        • Lists
    • Best Practices
      • Fact Checking
        • Verification Resources
        • How to Verify Online Information
      • How to Find Misinformation Online
      • social media post
      • Instagram via CrowdTangle
      • Protect Your Mental Well Being
    • User Account Admin
      • Update Your User Profile Details
      • Update Your Security Settings
Powered by GitBook
On this page
  1. Reference Material
  2. API
  3. Query String Parameters

Language Code

PreviousTime FiltersNextChannel Properties

Last updated 1 year ago

The following API entry points provide the ability to search for records based on the language of post:

  • GET /posts

  • GET /posts/stats

With each of these endpoints, the language_code parameter can be used to filter posts by language:

  • language_code – a list of two letter language codes. The codes must be given in all upper case letters.

Valid two letter codes include the following examples:

  • EN – for English

  • ES – for Spanish (Español)

  • PT - for Portuguese (Português)

This is an array parameter which allows multiple options to be added to a list in the same request. The syntax involves appending empty square braces to the parameter before assigning it to one of the desired options. This can be repeated for multiple options. In the following example, only English or Spanish language posts are included in the results.

  • GET /posts?language_code[]=EN&language_code[]=ES

Note that when the language_code parameter is omitted, posts of all languages are included in the results.

ISO_639-1