Discover/text API
live

text APItext.ai

Retrieve Alfi's SMS/RCS phone numbers, WhatsApp contact links, supported messaging platforms, and pre-filled starter messages from text.ai via one endpoint.

Endpoint health
verified 3h ago
get_alfi_contact_info
1/1 passing latest checkself-healing
Endpoints
1
Updated
3h ago

What is the text API?

The text.ai API exposes 7 response fields from the text.ai homepage via a single endpoint, get_alfi_contact_info, giving developers programmatic access to the exact phone numbers used to add Alfi to SMS, RCS, or WhatsApp group chats, the messaging platforms the site lists as supported, and the pre-filled starter message attached to the site's SMS link.

This call costs2 credits / call— charged only on success
Try it

No input parameters required.

api.parse.bot/scraper/9a82ab3d-7e6d-427f-9eb2-bbe06bec0ea4/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/9a82ab3d-7e6d-427f-9eb2-bbe06bec0ea4/get_alfi_contact_info' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace text-ai-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Text.ai Alfi contact info — fetch and display."""
from parse_apis.text_ai_api import TextAi, ParseError

client = TextAi()

# Fetch Alfi's contact details from text.ai
try:
    info = client.contact_info.get()
except ParseError as e:
    print("Failed to fetch contact info:", e)
    raise

# Primary SMS number for adding Alfi to a group chat
print("SMS number:", info.sms_phone_number)

# All linked phone numbers
print("All SMS numbers:", info.sms_phone_numbers)
print("WhatsApp numbers:", info.whatsapp_phone_numbers)

# Starter message the site pre-fills into the SMS link
if info.sms_prefilled_message is not None:
    print("Starter message:", info.sms_prefilled_message)

# Supported messaging platforms
print("Platforms:", ", ".join(info.supported_platforms))

# The site's own platform statement, when available
if info.platform_statement is not None:
    print("Platform statement:", info.platform_statement)

print("Source:", info.source_url)

print("exercised: contact_info.get")
All endpoints · 1 totalmissing one? ·

Reads the text.ai homepage once and returns the exact phone number users can text or add to an SMS/RCS group chat to reach Alfi (taken from the site's 'sms:' links), any WhatsApp number linked on the page, the pre-filled starter message the site attaches to the SMS link, and the list of messaging platforms the page names as supported (from the fixed set SMS, RCS, iMessage, WhatsApp, Telegram, only those actually present on the page), plus the site's own platform statement sentence when present. No parameters; one request; never paginated. Phone numbers are E.164 strings with a leading '+'. sms_prefilled_message and platform_statement may be null if the site drops them.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "source_url": "page the data was read from",
    "sms_phone_number": "primary E.164 phone number for SMS/RCS group chats",
    "sms_phone_numbers": "array of all distinct E.164 SMS numbers linked on the page",
    "platform_statement": "the site's own sentence listing supported platforms, or null",
    "supported_platforms": "array of messaging platform names the page mentions as supported",
    "sms_prefilled_message": "starter text the site's SMS link pre-fills, or null",
    "whatsapp_phone_numbers": "array of E.164 numbers behind WhatsApp chat links (may be empty)"
  },
  "sample": {
    "data": {
      "source_url": "https://www.text.ai/",
      "sms_phone_number": "+1 (555) 012-3456",
      "sms_phone_numbers": [
        "+1 (555) 012-3456"
      ],
      "platform_statement": "Across SMS, WhatsApp, and Telegram",
      "supported_platforms": [
        "SMS",
        "iMessage",
        "WhatsApp",
        "Telegram"
      ],
      "sms_prefilled_message": "What can you do do?",
      "whatsapp_phone_numbers": [
        "+1 (555) 012-3456"
      ]
    },
    "status": "success"
  }
}

About the text API

What the API Returns

The single get_alfi_contact_info endpoint reads the text.ai homepage and returns structured contact data for Alfi, the group-chat AI offered by text.ai. The response includes sms_phone_number (the primary E.164-formatted number for SMS and RCS group chats), sms_phone_numbers (a deduplicated array of every SMS number linked on the page), and whatsapp_phone_numbers (an array of E.164 numbers extracted from WhatsApp chat links, which may be empty if none are present).

Platform and Messaging Context

Beyond raw phone numbers, the endpoint also returns platform_statement, the site's own sentence describing which messaging services are supported (or null if absent), and supported_platforms, a parsed array of individual platform names mentioned on the page. The sms_prefilled_message field captures the starter text that the site pre-populates when a user taps the SMS link — useful for reproducing the intended onboarding flow or verifying that the message has changed. source_url records which page the data was read from.

Inputs and Freshness

get_alfi_contact_info takes no input parameters. Each call reflects whatever contact details text.ai currently shows on its homepage, so if the site updates a phone number or adds a new platform, the response will reflect that on the next request.

Reliability & maintenanceVerified

The text API is a managed, monitored endpoint for text.ai — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when text.ai changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official text.ai API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3h ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor text.ai's listed SMS/RCS number for changes before pushing it to a customer-facing directory or help article.
  • Auto-populate onboarding flows with the current sms_prefilled_message so users see the canonical starter text.
  • Verify whether text.ai has added or removed WhatsApp support by checking whatsapp_phone_numbers periodically.
  • Keep a chatbot or virtual assistant's knowledge base current with the latest supported_platforms list.
  • Detect platform expansion by diffing supported_platforms responses over time and triggering alerts on changes.
  • Pull the primary sms_phone_number into a mobile app's 'contact via SMS' deep link without hardcoding the number.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does text.ai have an official developer API?+
text.ai does not currently publish a documented public developer API for retrieving Alfi's contact information or platform data. This Parse API provides structured access to that data.
What exactly does `get_alfi_contact_info` return for phone numbers?+
sms_phone_number is the single primary E.164 number for SMS/RCS. sms_phone_numbers is an array of all distinct SMS numbers found on the page — useful if the site links more than one. whatsapp_phone_numbers is a separate array covering WhatsApp-specific numbers; it may return an empty array if no WhatsApp link is present on the page at the time of the request.
Does the API cover Alfi's behavior, conversation history, or chat transcripts?+
No. The API covers contact entry points only: phone numbers, supported platform names, and the pre-filled SMS message. It does not expose Alfi's AI responses, any conversation data, or account-level information. You can fork this API on Parse and revise it to add endpoints targeting other pages or data surfaces on text.ai.
How current is the data returned by the endpoint?+
Each call reads the text.ai homepage at request time, so the response reflects whatever the site is displaying when you call the endpoint. There is no cached or historical snapshot — if text.ai changes a phone number between two calls, successive responses will differ.
Can I retrieve platform support details for messaging apps beyond SMS and WhatsApp?+
The supported_platforms array returns every platform name mentioned on the homepage, so coverage depends entirely on what text.ai lists there. If a platform the site doesn't currently mention becomes relevant to your use case, you can fork this API on Parse and revise it to target additional pages or sections of the text.ai site.
Page content last updated . Spec covers 1 endpoint from text.ai.
Related APIs in OtherSee all →
gia.chat API
gia.chat API
smstome.com API
Browse temporary phone numbers from countries around the world and read incoming SMS messages in real time. List available numbers by country, retrieve messages sorted newest to oldest, and search message history by sender or content.
agent.ai API
Search and discover AI agents in the Agent.ai marketplace by filtering through categories and tags, then view detailed agent information and builder profiles. Find the perfect AI solution for your needs by browsing available agents, exploring builder credentials, and comparing agent capabilities across different categories.
telecontact.ma API
Find businesses, phone numbers, and reviews across Morocco using Telecontact.ma's comprehensive directory—search by business name, location, phone number, brand, or ICE registration, and access detailed contact information, ratings, and top-rated companies in any category. Discover local services, browse by activity type, and identify leading brands all in one place.
toolify.ai API
Search and browse premium .ai domain names available on the Toolify marketplace, filtering by keywords, categories, prices, and domain attributes to find the perfect domain for your project. Explore curated domain listings organized by category to discover valuable .ai domains suited to your needs.
ahrefs.com API
Check how often your website or brand appears in responses across major AI platforms like ChatGPT, Gemini, Perplexity, Copilot, Grok, Google AI Overviews, and AI Mode. Track your AI visibility in real-time to understand your online presence in AI-generated search results.
kikivoice.ai API
Generate realistic voices for your content with instant access to KikiVoice AI's complete voice library, TTS model capabilities, and supported languages, emotions, and accents. Browse available voices and FAQ resources to find the perfect voice clone for your project.
parallel.ai API
Access data from parallel.ai.