Skip to main content

gocreative-agent-api

Pay-per-call social profile enrichment for AI agents. Instagram, TikTok, X — one Python client, one wallet, one unified schema. Powered by x402 on Base.

Install

pip install gocreative-agent-api

30-second example

import os
from gocreative_agent_api import GoCreativeClient

client = GoCreativeClient(wallet_private_key=os.environ["MY_WALLET_KEY"])

# Single profiles — $0.05 each
ig  = client.enrich.instagram("nasa")
tt  = client.enrich.tiktok("tiktok")
x   = client.enrich.x("elonmusk")

print(ig["followers"], ig["business_category"])
# 104410161 Government Agencies

# Hashtag search — up to 30 results, $0.05
posts = client.search.instagram_hashtag("realestate")
print(len(posts["posts"]), "posts")

# Recent tweets — up to 30, $0.05
tweets = client.posts.x("nasa")
print(tweets["tweets"][0]["text"])

Every call costs $0.05 USDC, pulled automatically from the wallet you pass in. The SDK handles the HTTP 402 → sign → retry dance under the hood — your code never sees it.

Why

You're building an AI agent that needs to know "is this Instagram handle a real business with engagement?" or "what's trending on TikTok for #fitness?" — the existing options are:

  • Scrape it yourself: maintain proxies, handle bans, build parsers for 3 platforms.
  • Sign up for 5 different SaaS APIs: 5 different auth schemes, 5 invoices.
  • Use this: one wallet, one client, three platforms, sub-cent gas.

Configuration

Constructor arg Env var Default
wallet_private_key GOCREATIVE_WALLET_KEY required
base_url – https://api.gocreativeai.com/v1
max_payment_usd – 1.00 (per-call safety cap)
timeout – 60.0 seconds

Endpoints

Method Cost Returns
client.enrich.instagram(username) $0.05 followers, bio, verified, business category, profile pic
client.enrich.tiktok(username) $0.05 followers, bio, verified, post count
client.enrich.x(username) $0.05 followers, bio, verified, post count
client.search.instagram_hashtag(tag) $0.05 up to 30 top posts (caption, likes, comments)
client.search.tiktok_hashtag(tag) $0.05 up to 30 top videos (plays, likes, comments)
client.posts.x(username) $0.05 up to 30 recent tweets (text, likes, retweets, views)

Cost control

  • max_payment_usd=0.10 will refuse any 402 asking more than 10¢
  • Server-side responses cache for 24h, so repeat calls for the same handle return instantly (and the server still bills $0.05 — that's the deal)

License

MIT

Metadata

Release files for gocreative-agent-api 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gocreative-agent-api 0.1.0
File Size Uploaded Provenance Actions
gocreative_agent_api-0.1.0.tar.gz 4.5 kB Without provenance Details for gocreative_agent_api-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gocreative-agent-api 0.1.0
File Interpreter ABI Platform Actions
gocreative_agent_api-0.1.0-py3-none-any.whl Python 3 none any Details for gocreative_agent_api-0.1.0-py3-none-any.whl

Total release size: 9.5 kB

Release files / gocreative_agent_api-0.1.0.tar.gz

Download URL gocreative_agent_api-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
00be810f2f6e452eb08da0a641aa48993d63a260b3a879e75c4d1d8b7e994800
BLAKE2b-256 checksum
How to use checksums
2ad928a9d452561722e834b6581946b3eac8acca8d05d6f1ed7035a1b7017142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / gocreative_agent_api-0.1.0-py3-none-any.whl

Download URL gocreative_agent_api-0.1.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff491e2ddc7730d38d6bf2e0d2395fda25af02d7be12044fd83092ec2ac7b012
BLAKE2b-256 checksum
How to use checksums
7db1c0a02ca252f874579cbe985198c19de985bd1bca120b55be7245323577ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for gocreative-agent-api 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page