80trust / 100

Analytics

by TikTok Automation in News & content

x402 APIPassing, checked 54 min ago

Fetch post analytics for a TikTok account you control.

POST https://tiktok.palmyr.ai/v1/analytics

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
300 ms typical, 378 ms slowest 5%
Last check
54 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://tiktok.palmyr.ai/v1/analytics" \
  -H "content-type: application/json" \
  -d '{}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ftiktok.palmyr.ai%2Fv1%2Fanalytics
const res = await pay("https://tiktok.palmyr.ai/v1/analytics", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}),
});
console.log(await res.json());

Example input

{}

Example output

{}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
54 min agoPassed402514 ms$0.005
5 h agoPassed402263 ms$0.005
8 h agoPassed402201 ms$0.005
12 h agoPassed402191 ms$0.005
16 h agoPassed402326 ms$0.005
19 h agoPassed402300 ms$0.005
24 h agoPassed402378 ms$0.005