TanshuAPI
News search, Validate phone. 4 documented operations.
API capabilities
2 tasks covered in the catalog.
Documented operations
Provider routes and credentials are separate from All Them APIs.
News searchGET /api/toutiao_v2/v1/index
- Inputs
- type; title, page, page_size, begin_time, end_time
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
response coderesponse messagechanneltitlepublished dateURLsource namehas imageimage URLimage widthimage heightarticle IDpage numbertotal resultstotal pages
Carrier online status (phone_online_status)Validate phoneGET /api/phone_online_status/v1/index
- Inputs
- phone
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
response coderesponse messagephonecarriernetwork statusstatus descriptionout-of-network statusout-of-network status descriptionprovincecityZIP code
Mobile number status (empty number check, phone_invalid)Validate phoneGET /api/phone_invalid/v1/index
- Inputs
- phone
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
response coderesponse messagephoneprovincecitycarrierarea codeZIP codestatus
Mobile number status, all carriers V3Validate phoneGET /api/phone_check/v1/index
- Inputs
- phone
- Authentication
- Confirm the key, permissions and plan in the provider documentation.
- Listed response fields
response coderesponse messagephonestatuscarrierported numberoriginal carrier
Plans & pricing references
Listed fees retain the source billing period and currency. Check the provider for allowances, overages and current terms.
| Plan | Billing | Listed fee | Coverage |
|---|---|---|---|
| 1,000 calls | one-time | CN¥60.00 | Validate phone |
| 1,000 calls | one-time | CN¥100.00 | Validate phone |
| 1,000,000 calls | one-time | CN¥2,900.00 | Validate phone |
| 10 calls | free | CN¥0.00 | Validate phone |
| 10,000 calls | one-time | CN¥500.00 | Validate phone |
| 10,000 calls | one-time | CN¥800.00 | Validate phone |
| 100,000 calls | one-time | CN¥400.00 | Validate phone |
| 100,000 calls | one-time | CN¥4,000.00 | Validate phone |
| 100,000 calls | one-time | CN¥7,000.00 | Validate phone |
| 20,000 calls | one-time | CN¥160.00 | Validate phone |
| 50,000 calls | one-time | CN¥300.00 | Validate phone |
| 500,000 calls | one-time | CN¥1,800.00 | Validate phone |
Showing 12 of 17 listed plan/fee combinations. Use the official pricing reference for the full current offer.
Coding agent prompt
Prepare the adapter with the provider's documentation and your own account.
Build a server-side integration for TanshuAPI.
Read the official provider documentation before choosing authentication, request fields or a plan:
https://www.tanshuapi.com/market/detail-123
https://www.tanshuapi.com/market/detail-129
https://www.tanshuapi.com/market/detail-143
Catalog operations to verify against the current documentation:
- News search: GET /api/toutiao_v2/v1/index; inputs: type; title, page, page_size, begin_time, end_time
- Carrier online status (phone_online_status): GET /api/phone_online_status/v1/index; inputs: phone
- Mobile number status (empty number check, phone_invalid): GET /api/phone_invalid/v1/index; inputs: phone
- Mobile number status, all carriers V3: GET /api/phone_check/v1/index; inputs: phone
Read credentials from a server-only environment variable such as PROVIDER_TANSHUAPI_API_KEY; confirm the actual authentication scheme in the provider docs. Never expose credentials in browser code, URLs or logs.
Add bounded timeouts, explicit 401/403/429 handling, input validation and fixture-based tests. Preserve missing values and provider identifiers. Do not run paid or personal-data queries without approval. This is the provider's interface, not an All Them APIs execution endpoint.
If an endpoint, field, account permission or rate limit cannot be confirmed, list the missing requirement instead of inventing a working request. Return the adapter, tests and exact verification steps.Sources & integration checks
- Public source check
- Source returned no readable metadata · Nov 25, 2026
- Catalog source date
- Nov 5, 2026
- Authentication reference
- See each operation and confirm the provider's current access requirements.
- Before using in production
- Verify coverage, accepted-result billing, rate limits, data freshness and permitted use for your workload.
Catalog data: Datacircle, CC BY 4.0. Provider sources and check dates are recorded separately. Catalog prices and operations are references, not an Agent Bench result.