{"uid":"cap_0J-JvrWrAdNrry7FFB4sa","slug":"tradepilotusa-url-campaign-builder-3e47dc81","name":"TradepilotUSA URL Campaign Builder","description":"Build an HTTP(S) campaign URL with correctly encoded UTM fields while preserving unrelated query parameters and fragments. Replaces duplicate instances of supplied UTM fields. Rejects embedded credentials. Never visits or validates destination content.","url":"https://www.tradepilotusa.com/api/agent-commerce/v1/services/url_campaign_builder/execute?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","maxLength":4096},"utm_term":{"type":"string","maxLength":500},"utm_medium":{"type":"string","maxLength":500},"utm_source":{"type":"string","maxLength":500},"utm_content":{"type":"string","maxLength":500},"utm_campaign":{"type":"string","maxLength":500}}},"responseSchema":{"type":"json","example":{"result":{"url":"https://example.com/offer?existing=1&utm_source=newsletter&utm_medium=email&utm_campaign=Fall+sale#details","network_request_performed":false},"utility":"url_campaign_builder","provenance":{"execution":"deterministic_local","model_used":false,"network_request_performed":false},"request_id":"example_url_campaign_builder"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UpIFTAMZYaQpq1mcbQmtq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Appends UTM tracking parameters to a base URL to produce a campaign-tagged URL for marketing analytics","exampleAgentPrompt":"Build me a campaign-tagged URL for 'https://shop.mystore.com/sale' — source should be 'newsletter', medium 'email', campaign 'fall_sale_2024', content 'banner_top', and term 'discount'.","exampleUseCases":[{"title":"Email newsletter campaign link","prompt":"Take my landing page URL 'https://mystore.com/promo' and generate a UTM-tagged version with source 'mailchimp', medium 'email', campaign 'spring_launch', and content 'header_cta'."},{"title":"Paid social media ad tracking","prompt":"I'm running a Facebook ad campaign called 'brand_awareness_q4' — can you build a tracking URL from 'https://mybrand.com/landing' with utm_source set to 'facebook', utm_medium to 'cpc', and utm_term to 'running+shoes'?"},{"title":"Cross-channel attribution comparison","prompt":"Create two campaign URLs both pointing to 'https://example.com/offer' — one with utm_source 'google' and medium 'cpc', and another with utm_source 'instagram' and medium 'social', both under the campaign name 'summer_sale'."}],"resultDescription":"Returns a fully constructed URL with all provided UTM parameters appended as query string parameters, preserving any existing query parameters and fragments. Also includes provenance metadata indicating the execution was deterministic and local (no external network request made), and a request ID.","failureModes":["Invalid or malformed base URL returns an error","UTM parameter values exceeding 500 characters are rejected","Missing required 'url' field causes a validation error","Malformed JSON body results in a 400-level error"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, deterministic way to append UTM parameters to a URL without writing custom string manipulation code. It handles existing query parameters and fragments correctly and is ideal for batch campaign URL generation in marketing automation workflows. Prefer this over manual URL construction when accuracy and consistency of UTM parameter encoding matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:48:19.856Z","isFirstParty":false,"canonicalSlug":"tradepilotusa-url-campaign-builder-3e47dc81"}