> ## Documentation Index
> Fetch the complete documentation index at: https://dev.contentify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Arxiv

### Body

Get a list of research paper from Arxiv.

<ParamField body="topic" type="string">
  What topic you want to search for. Example: "machine learning"
</ParamField>

### Response

<ResponseField name="arxiv" type="string">
  The list of the hashtags generated for the post.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST \
    <BASE_URL>/arxiv \
    -H 'Content-Type: application/json' \
    -H 'X-API-Key: YOUR_API_KEY' \
    -d '{
      "topic": "quantum physics"
  }'

  ```

  ```bash PHP theme={null}
  <?php
  $url = '<BASE_URL>/arxiv';
  $data = array(
      'topic' => 'quantum physics'
  );

  $ch = curl_init($url);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
  curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
  curl_setopt($ch, CURLOPT_HTTPHEADER, array(
      'Content-Type: application/json',
      'X-API-Key: YOUR_API_KEY'
  ));

  $response = curl_exec($ch);
  curl_close($ch);

  echo $response;
  ?>

  ```

  ```bash Python theme={null}
  import requests

  url = '<BASE_URL>/arxiv'
  headers = {
      'Content-Type': 'application/json',
      'X-API-Key': 'YOUR_API_KEY'
  }
  data = {
      'topic': 'quantum physics'
  }

  response = requests.post(url, headers=headers, json=data)
  print(response.json())
  ```

  ```bash JavaScript theme={null}
  const url = '<BASE_URL>/arxiv';
  const headers = {
      'Content-Type': 'application/json',
      'X-API-Key': 'YOUR_API_KEY'
  };
  const data = {
      topic: 'quantum physics'
  };

  fetch(url, {
      method: 'POST',
      headers: headers,
      body: JSON.stringify(data)
  })
  .then(response => response.json())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));


  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
      "arxiv": [
          {
              "title": "CAD: Photorealistic 3D Generation via Adversarial Distillation",
              "url": "http://arxiv.org/pdf/2312.06663v1",
              "updated_date": "2023-12-11T18:59:58+00:00",
              "author": [
                  "Ziyu Wan",
                  "Despoina Paschalidou",
                  "Ian Huang",
                  "Hongyu Liu",
                  "Bokui Shen",
                  "Xiaoyu Xiang",
                  "Jing Liao",
                  "Leonidas Guibas"
              ],
              "source": "State estimation is highly critical for accurately observing the dynamic\nbehavior of the power grids and minimizing risks from cyber threats..."
          },
          {
              "title": "Photorealistic Video Generation with Diffusion Models",
              "url": "http://arxiv.org/pdf/2312.06662v1",
              "updated_date": "2023-12-11T18:59:57+00:00",
              "author": [
                  "Agrim Gupta",
                  "Lijun Yu",
                  "Kihyuk Sohn",
                  "Xiuye Gu",
                  "Meera Hahn",
                  "Li Fei-Fei",
                  "Irfan Essa",
                  "Lu Jiang",
                  "José Lezama"
              ],
              "source": "Inter-agent relative localization is critical for many multi-robot systems..."
          }
      ]
  }
  ```
</ResponseExample>

 

#

 

#

 
