• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
stevekrouse

stevekrouse

clay-proxy

Remix of charmaine/clay-proxy
Public
Like
clay-proxy
Home
Code
4
README.md
H
main.tsx
sdk.ts
sqlite.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
main.tsx
https://stevekrouse--019899b1911f766b8306eef3a3bebe14.web.val.run
README.md

Clay API + SDK

Simple API / SDK to enrich data with Clay.

Want to set up your own Clay proxy instead of using ours? Remix this val instead.

Example usage

Enrich GitHub User

Create val
// NOTE: You need to set GITHUB_TOKEN as an environment variable to run this import { clay } from "https://esm.town/v/charmaine/clay-proxy/sdk.ts"; import { emailsFromGitHubUsername } from "https://esm.town/v/stevekrouse/github-user-email/index.ts"; // First get email from GitHub username const emails = await emailsFromGitHubUsername("charmaine"); const email = emails[0]; // Then enrich with Clay const result = await clay({ email, github_username: "charmaine", repo: "val-town/vt", source: "github_stargazer" }); console.log(result);

Enrich by Email

Create val
import { clay } from "https://esm.town/v/charmaine/clay-proxy/sdk.ts"; const result = await clay({ email: "charmainekmlee@gmail.com", source: "user_signup" }); console.log(result);

Input

  • email - Required - Email address to enrich
  • github_username - Optional - GitHub username
  • source - Optional - Data source
  • repo - Optional - Repository name

Output (if found)

  • person - Name
  • linkedin - LinkedIn URL
  • company - Company of employment
  • linkedin_data - LinkedIn profile data
  • funding - Funding stage
  • totalFunding - Total funding raised
  • employeeCount - Number of employees
HTTP
  • main.tsx
    stevekrouse--01…14.web.val.run
Code
README.md
H
main.tsx
sdk.tssqlite.ts
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.