Skip to main content

Universal trust scoring for any entity on Earth.

Project description

market2agent

Universal trust scoring for any entity on Earth. One API call, five pillars, one number.

Install

pip install market2agent

Quick start

from market2agent import M2AClient

client = M2AClient("m2a_live_your_key")

# Score any entity
score = client.score("stripe.com")

print(score.grade)    # "A"
print(score.trust)    # 847
print(score.pillars)  # {"identity": 190, "competence": 185, ...}

if score.is_safe:
    proceed()

What you can score

Pass anything — domains, companies, URLs, emails, social handles, agent IDs:

client.score("stripe.com")
client.score("openai")
client.score("https://api.x.ai")
client.score("@elonmusk")
client.score("sketchy-payments.xyz")

Five pillars

Every score is a weighted composite across five independent verification pillars:

  • Identity — DNS, WHOIS, SSL, domain age
  • Competence — Security headers, GitHub activity, infrastructure
  • Solvency — Business registration, operational longevity
  • Reputation — Blocklists, news sentiment, reviews
  • Network — Social graph, partnerships, ecosystem position

Compare

result = client.compare("stripe.com", "sketchy-payments.xyz")
print(result.safer_entity)  # "stripe.com"

Batch

results = client.batch(["stripe.com", "shopify.com", "unknown.xyz"])
for r in results:
    print(f"{r.target}: {r.grade} ({r.score})")

Async

from market2agent import AsyncM2AClient

async with AsyncM2AClient("m2a_live_...") as client:
    score = await client.score("stripe.com")

Get an API key

Email api@market2agent.ai or sign up at market2agent.ai.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

market2agent-2.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file market2agent-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: market2agent-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for market2agent-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9988ef8206055dcfc479d1cf55d36bd10f373cfba86e24f3bf0357ada763fa9a
MD5 454646b2aa88202ea3c1e00e783801cd
BLAKE2b-256 668f105fb97ba805d207487ab0c12f7568bc1b730d16930772bf0bc4716b7a99

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page