78trust / 100

Social Post Generate

by api.strale.io in News & content

x402 APIPassing, checked 31 min ago

Generate platform-optimized social media posts. Supports Twitter, LinkedIn, Instagram. Returns post text, hashtags, thread version for Twitter.

GET https://api.strale.io/x402/social-post-generate

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.strale.io/x402/social-post-generate"
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%2Fapi.strale.io%2Fx402%2Fsocial-post-generate
const res = await pay("https://api.strale.io/x402/social-post-generate");
console.log(await res.json());

Example input

{
  "content": {
    "type": "string"
  },
  "hashtag_count": {
    "type": "integer"
  },
  "platform": {
    "type": "string"
  },
  "tone": {
    "type": "string"
  },
  "url": {
    "type": "string"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
31 min agoPassed402159 ms$0.054
4 h agoPassed402133 ms$0.054
7 h agoPassed402135 ms$0.054
11 h agoPassed402149 ms$0.054
15 h agoPassed402139 ms$0.054
18 h agoPassed402354 ms$0.054
23 h agoPassed402128 ms$0.054
26 h agoPassed402497 ms$0.054
31 h agoPassed402307 ms$0.054