---
title: "获取 PoW 挑战（匿名提额用）"
method: GET
path: "/v1/challenge"
tags: ["free"]
---

# 获取 PoW 挑战（匿名提额用）

`GET /v1/challenge`

## Request

- Base URL: `https://api.ashareapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ashareapi.com/v1/challenge`
- Auth: none declared

匿名请求超限（429）时也会直接返回同一份挑战。解出 nonce 后带 `X-PoW: <challenge>.<nonce>` 请求，匿名配额从 5 次/分提升到 15 次/分。⚠️ 只提升**每分钟次数**，**不提升每日条数**（匿名每日最多取 10 万条）。付费 Key 用户无需使用。

## Query parameters

- `difficulty` integer: 自定义难度（前导 0 位数），0=服务端默认

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ashareapi/apis/a-api.md) · [All operations](https://skmtc.dev/ashareapi/apis/a-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ashareapi/apis/a-api/revisions/fc57bdcb13d5?raw)
