Icon Retrieval
Search icons through HTTP API and retrieve SVG strings with curl.
by antvis · MIT
The skill
Search icons through HTTP API and retrieve SVG strings with curl.
Icon Search
Use the icon HTTP API directly with curl.
API
Search Endpoint
- Method:
GET - URL:
https://www.weavefox.cn/api/v1/infographic/icon - Query params:
text(required): search keyword, e.g."data analysis"topK(optional): number of icons to fetch (1-20), default5
Example:
curl -sS -L --max-time 20 "https://www.weavefox.cn/api/v1/infographic/icon?text=document&topK=5"
Typical response:
{
"success": true,
"data": [
"https://example.com/icon1.svg",
"https://example.com/icon2.svg"
]
}
Retrieve SVG Content
curl -sS -L --max-time 20 "https://example.com/icon1.svg"
Workflow
- Determine the icon concept keyword (for example:
security,document,data). - Search icon URLs using the API endpoint.
- Use
curlto fetch the SVG content of selected URLs. - Use SVG directly in pages, diagrams, or infographic materials.
Notes
- Use URL encoding for special characters in
text. topKrange is 1–20; if omitted, the service returns up to 5 results.- For network issues, retry with a smaller
topKor verify endpoint accessibility.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: antvis/icon-retrieval-83431280556.
Details
- Publisher
- antvis
- Category
- Software Development › Frontend & UI
- License
- MIT
- Updated
- 2026-09-22
References
More from antvis
- Antv G2 Chart Use this skill whenever the user wants to create, customize, or troubleshoot G2 v5 chart visualiz…
- Antv G6 Graph Use this skill whenever the user wants to create, customize, or troubleshoot G6 v5 graph/network…
- Antv Gpt Vis Recommend and generate appropriate data visualization charts using the GPT-Vis library.
- Antv Infographic Create beautiful infographics based on given text content.