Skip to main content

ToolTrace Python SDK

Official Python client for the ToolTrace web intelligence API. Extract content, metadata, links, structured data, SEO diagnostics, and technology stacks from any public webpage.

Install

pip install tooltrace

Quick start

from tooltrace import ToolTrace

client = ToolTrace(api_key="your-key")

# Extract clean Markdown from a webpage
result = client.extract("https://example.com", include=["markdown", "metadata"])
print(result.markdown)
print(result.metadata.title)

# Detect technology stack
tech = client.tech_stack("https://example.com")
print(tech)

# Run an SEO audit
audit = client.seo_audit("https://example.com")
print(f"Score: {audit.score}/100")
for check in audit.checks:
    if not check.passed:
        print(f"  {check.severity}: {check.message}")

Async support

from tooltrace import AsyncToolTrace

async with AsyncToolTrace(api_key="your-key") as client:
    result = await client.extract("https://example.com")
    print(result.markdown)

Available methods

Method Description Credits
client.extract(url) Markdown, text, metadata, links, schema, sections 1-5
client.metadata(url) Title, description, Open Graph, Twitter cards 1-5
client.links(url) Internal/external links with anchor text 1-5
client.schema(url) JSON-LD structured data 1-5
client.seo_audit(url) SEO score with weighted checks 1-5
client.tech_stack(url) CMS, frameworks, analytics, CDN, hosting 1-5
client.sitemap(url) Parse XML sitemaps 1-5

All methods accept render="never" (1 credit, static), render="auto" (default), or render="always" (5 credits, browser).

Get an API key

Sign up free at tooltrace.io/signup. 1,000 credits/month on the free plan.

License

MIT

Metadata

Release files for tooltrace 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 tooltrace 0.1.0
File Size Uploaded Provenance
tooltrace-0.1.0.tar.gz 6.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tooltrace 0.1.0
File Interpreter ABI Platform
tooltrace-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.4 kB

Release files / tooltrace-0.1.0.tar.gz

Download URL tooltrace-0.1.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
232d629a50d81440eac1158842ba7aa65dcff530c75c081e19bb1aed01bc74ee
BLAKE2b-256 checksum
How to use checksums
9a1983de101ecbefde5f6b451f93281d5ea4df78373bf0e77c9ae93583a33a26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

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

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

Security for tooltrace 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.

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