---
title: "Article details by id and language id (legacy lookup)."
url: "https://developer.argaam.com/apis/news-editorial-layer-api-production-v1/versions/ab3ee138-9ff0-43e3-bb36-91df10612a3e/operations/getNewsArticlesByIdByArticleId"
---

> Full API specification: https://developer.argaam.com/apis/news-editorial-layer-api-production-v1/versions/ab3ee138-9ff0-43e3-bb36-91df10612a3e.md

# Article details by id and language id (legacy lookup).

`GET` `/api/v1.1/news/articles/by-id/{articleId}`

Operation ID: `getNewsArticlesByIdByArticleId`

Convenience overload that takes numeric `languageId` (1 = Arabic, 2 = English) instead of the `lang` string code. Provided for backwards compatibility with v1.0 clients. ### Example ``` GET /api/v1.1/news/articles/by-id/12345?languageId=2 ```

## Path parameters

- `articleId` (integer, int32, required) - Identifier of the news article.

## Query parameters

- `languageId` (integer, int32, optional) - Response language: `1` = English, `2` = Arabic. Defaults to `1`.

## Responses

- `200` - Success

## OpenAPI definition

````yaml
openapi: 3.0.1
info:
  title: News & Editorial Layer API
  version: v1.1
servers:
  - url: https://api.argaam.com
    description: Argaam API Gateway (Production)
paths:
  /api/v1.1/news/articles/by-id/{articleId}:
    get:
      tags:
        - News
      parameters:
        - name: articleId
          in: path
          required: true
          schema:
            type: integer
            format: int32
          description: Identifier of the news article.
        - name: languageId
          in: query
          schema:
            type: integer
            format: int32
            default: 1
          example: 2
          description: "Response language: `1` = English, `2` = Arabic. Defaults to `1`."
      responses:
        "200":
          description: Success
      summary: Article details by id and language id (legacy lookup).
      description: "Convenience overload that takes numeric `languageId` (1 =
        Arabic,\r

        2 = English) instead of the `lang` string code. Provided for\r

        backwards compatibility with v1.0 clients.\r

        \            \r

        ### Example\r

        ```\r

        GET /api/v1.1/news/articles/by-id/12345?languageId=2\r

        ```"
      operationId: getNewsArticlesByIdByArticleId
security:
  - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: apikey
````
