---
title: "Medium API: User | Perceptlayer"
description: "User from Medium as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/medium/user
---

[APIs](https://perceptlayer.com/apis) / [Medium](https://perceptlayer.com/apis/medium) / User

# Medium: User

User from Medium as JSON. 1 credit per successful call.

GET `/v1/medium/user` Needs terms

Note 

This endpoint needs the [restricted-endpoint terms](https://perceptlayer.com/legal/restricted-endpoints), which you can accept in your dashboard.

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `username` | string | Required | Up to 100 characters |
| `limit` | integer | Optional | Any |
| `from` | string | Optional | Up to 100 characters |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/medium/user?username=medium" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/medium?try=user#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

Each item in `data.posts` has these 11 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `id` | string |
| `title` | string |
| `url` | url |
| `is_locked` | boolean |
| `clap_count` | integer |
| `reading_time` | integer |
| `published_at` | string |
| `responses_count` | integer |
| `tags` | string\[\] |
| `creator` | object |
| `collection` | object |
