[{"data":1,"prerenderedAt":325},["ShallowReactive",2],{"docs-\u002Fmcp\u002Fapi-key\u002F":3},{"id":4,"title":5,"body":6,"breadcrumb":287,"coderail":294,"dateModified":310,"datePublished":310,"description":311,"extension":312,"meta":313,"navigation":314,"next":315,"path":318,"prev":319,"schemaType":320,"seo":321,"stem":322,"wide":323,"__hash__":324},"docs\u002Fmcp\u002Fapi-key.md","API-key flow",{"type":7,"value":8,"toc":280},"minimark",[9,24,29,48,52,106,109,113,123,126,176,187,191,194,244,258,262,273,276],[10,11,12,13,17,18,23],"p",{},"A ",[14,15,16],"code",{},"tm_"," API key is a long-lived Bearer credential. Use one where signing in through a browser is not practical: scripts, CI jobs, direct REST calls, and MCP clients that you would rather set up with a header. A key reaches the same tools as the ",[19,20,22],"a",{"href":21},"\u002Fmcp\u002Foauth\u002F","OAuth flow",".",[25,26,28],"h2",{"id":27},"overview","Overview",[10,30,31,32,34,35,38,39,42,43,47],{},"A key is a single string that starts with ",[14,33,16],{},". It belongs to the account that created it and is sent as ",[14,36,37],{},"Authorization: Bearer tm_…"," on every request. A key can use every tool and every REST endpoint except key management. The same key works on the MCP endpoint (",[14,40,41],{},"\u002Fmcp",") and the ",[19,44,46],{"href":45},"\u002Fapi\u002Fscan-url\u002F","v1 REST API",". Keys are free.",[25,49,51],{"id":50},"create","Create a key",[53,54,55,92,95],"ol",{},[56,57,58,59,88,91],"li",{},"Sign in with Google on an account page. There are two, and they show the same keys:",[60,61,62,77],"ul",{},[56,63,64,72,73,23],{},[19,65,69],{"href":66,"rel":67},"https:\u002F\u002Ftagmanifest.com\u002Faccount\u002F",[68],"nofollow",[14,70,71],{},"tagmanifest.com\u002Faccount"," — the button is ",[74,75,76],"strong",{},"Create key",[56,78,79,72,85,23],{},[19,80,82],{"href":81},"\u002Faccount\u002F",[14,83,84],{},"developer.tagmanifest.com\u002Faccount\u002F",[74,86,87],{},"Mint key",[89,90],"br",{},"Signing in creates your account. There is no approval step.",[56,93,94],{},"Type a label if you want one, then click the button. An account can hold up to five active keys.",[56,96,97,98,101,102,105],{},"Copy the ",[14,99,100],{},"tm_…"," value. It is ",[74,103,104],{},"shown once"," and cannot be shown again. Store it in a secret manager or an environment variable.",[10,107,108],{},"Treat the key like a password. Anyone holding it can run scans as your account and use up your rate limits.",[25,110,112],{"id":111},"use-mcp","Use with MCP",[10,114,115,116,119,120,23],{},"Give the key to your MCP client as an ",[14,117,118],{},"Authorization"," header on the server URL ",[14,121,122],{},"https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fmcp",[10,124,125],{},"In Claude Code:",[127,128,133],"pre",{"className":129,"code":130,"language":131,"meta":132,"style":132},"language-bash shiki shiki-themes github-light github-dark","claude mcp add --transport http tagmanifest https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fmcp \\\n  --header \"Authorization: Bearer \u003CAPI key>\"\n","bash","",[14,134,135,167],{"__ignoreMap":132},[136,137,140,144,148,151,155,158,161,164],"span",{"class":138,"line":139},"line",1,[136,141,143],{"class":142},"sScJk","claude",[136,145,147],{"class":146},"sZZnC"," mcp",[136,149,150],{"class":146}," add",[136,152,154],{"class":153},"sj4cs"," --transport",[136,156,157],{"class":146}," http",[136,159,160],{"class":146}," tagmanifest",[136,162,163],{"class":146}," https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fmcp",[136,165,166],{"class":153}," \\\n",[136,168,170,173],{"class":138,"line":169},2,[136,171,172],{"class":153},"  --header",[136,174,175],{"class":146}," \"Authorization: Bearer \u003CAPI key>\"\n",[10,177,178,179,182,183,23],{},"In any other MCP client, follow that client's own instructions for adding a remote MCP server with a header. The header is ",[14,180,181],{},"Authorization: Bearer \u003CAPI key>",". See ",[19,184,186],{"href":185},"\u002Fmcp\u002Fconnect\u002F","Connect to Claude",[25,188,190],{"id":189},"use-rest","Use with REST",[10,192,193],{},"The same key is a Bearer credential for the v1 REST API:",[127,195,197],{"className":129,"code":196,"language":131,"meta":132,"style":132},"curl -X POST https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Fscan-url \\\n  -H \"Authorization: Bearer \u003CAPI key>\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"url\": \"https:\u002F\u002Fexample.com\", \"top_n\": 25}'\n",[14,198,199,215,225,235],{"__ignoreMap":132},[136,200,201,204,207,210,213],{"class":138,"line":139},[136,202,203],{"class":142},"curl",[136,205,206],{"class":153}," -X",[136,208,209],{"class":146}," POST",[136,211,212],{"class":146}," https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Fscan-url",[136,214,166],{"class":153},[136,216,217,220,223],{"class":138,"line":169},[136,218,219],{"class":153},"  -H",[136,221,222],{"class":146}," \"Authorization: Bearer \u003CAPI key>\"",[136,224,166],{"class":153},[136,226,228,230,233],{"class":138,"line":227},3,[136,229,219],{"class":153},[136,231,232],{"class":146}," \"Content-Type: application\u002Fjson\"",[136,234,166],{"class":153},[136,236,238,241],{"class":138,"line":237},4,[136,239,240],{"class":153},"  -d",[136,242,243],{"class":146}," '{\"url\": \"https:\u002F\u002Fexample.com\", \"top_n\": 25}'\n",[10,245,246,247,182,250,254,255,23],{},"All REST endpoints live under ",[14,248,249],{},"\u002Fv1",[19,251,253],{"href":252},"\u002Fauth\u002F","Authentication"," and the ",[19,256,257],{"href":45},"REST endpoints",[25,259,261],{"id":260},"revoke","Revoke a key",[10,263,264,265,268,269,272],{},"On either account page, find the key in the list and click ",[74,266,267],{},"Revoke",". It takes effect at once: any client using that key gets ",[14,270,271],{},"401"," responses. Create a new key and update your clients.",[10,274,275],{},"Keys are managed only from a signed-in account page. A key cannot create, list or revoke keys, and neither can the token an MCP client gets from OAuth sign-in.",[277,278,279],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":132,"searchDepth":169,"depth":169,"links":281},[282,283,284,285,286],{"id":27,"depth":169,"text":28},{"id":50,"depth":169,"text":51},{"id":111,"depth":169,"text":112},{"id":189,"depth":169,"text":190},{"id":260,"depth":169,"text":261},[288,291,293],{"label":289,"href":290},"API Reference","\u002F",{"label":292},"MCP server",{"label":5},{"cards":295,"onpage":304},[296],{"title":297,"tabs":298},"Use a tm_ key",[299,301],{"label":300,"language":131,"code":130},"Claude Code",{"label":302,"language":131,"code":303},"REST","curl -X POST https:\u002F\u002Fdeveloper.tagmanifest.com\u002Fv1\u002Fscan-url \\\n  -H \"Authorization: Bearer \u003CAPI key>\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"url\": \"https:\u002F\u002Fexample.com\"}'\n",[305,306,307,308,309],{"id":27,"label":28},{"id":50,"label":51},{"id":111,"label":112},{"id":189,"label":190},{"id":260,"label":261},null,"Create a tm_ API key on the account page and use it as a Bearer credential with the MCP server or the v1 REST API.","md",{},true,{"href":316,"title":317},"\u002Fmcp\u002Ftools\u002Fscan-url\u002F","scan_url","\u002Fmcp\u002Fapi-key",{"href":21,"title":22},"TechArticle",{"title":5,"description":311},"mcp\u002Fapi-key",false,"gsotbMVeC-kVzAAP7HmmSYiKs9K_7_1sdoIiDXVdFbQ",1796069482180]