Vector Search API

Search through over 700,000 free to use vector icons. The license is either "PUBLIC_DOMAIN" or "ATTRIBUTION". If it is "ATTRIBUTION" just attribute the author somewhere in your project.

Here are some airplanes for you:  airplane vector icon airplane vector icon airplane vector icon airplane vector icon

Or what about some animals?  airplane vector icon airplane vector icon airplane vector icon airplane vector icon

GET
https://api.apileague.com/search-vectors

Parameters

NameExampleDescription
query
s r q
airplanesThe search query.
offset
n o q
0The number of vectors to skip, between 0 and 1000
number
n o q
3The number of vectors to return in range [1,10]
api-key
s r q
abcd1234Your API key.
Example Request and Response
GET
https://api.apileague.com/search-vectors?query=airplanes&number=3
{
    "vectors": [
        {
            "title": "Airplanes",
            "license": "ATTRIBUTION",
            "author": "Candy Design",
            "image_url": "https://img.apileague.com/icons/10507904.svg"
        },
        {
            "title": "Model Airplanes",
            "license": "ATTRIBUTION",
            "author": "Juicy Fish",
            "image_url": "https://img.apileague.com/icons/10427558.svg"
        },
        {
            "title": "Paper Airplanes",
            "license": "ATTRIBUTION",
            "author": "HideMaru",
            "image_url": "https://img.apileague.com/icons/9051410.svg"
        }
    ]
}
 Copy Codecurl -X GET 'https://api.apileague.com/search-vectors?query=airplanes&number=3' \ -H 'x-api-key: myapikey'

Headers

Response Headers:

  • Content-Type: application/json
  • X-API-Quota-Request: The number of tokens used by the request
  • X-API-Quota-Used: The number of tokens used in total today
  • X-API-Quota-Left: The number of tokens left today (depends on your plan)

Frequently Asked Questions

What format are the vectors in?

The vectors are returned as SVG (Scalable Vector Graphics) files, which are perfect for high-quality resizing without loss of quality.

Are the vectors free to use?

Yes, the API searches for vectors that are either in the public domain or require attribution. The license type is provided for each result.

Can I search by style?

The search is keyword-based, but the results cover a wide range of styles. You can often find specific styles by adding keywords like "flat", "outline", or "cartoon" to your query.

How is the Vector Search API different from the Search Icons API?

The Vector Search API specifically searches for scalable vector graphics (SVG), often used for illustrations and complex icons, while the Search Icons API focuses on standard UI icons, often in raster formats.

Questions? Need Help? Ask Away

Quotas

Calling this endpoint costs
2 tokens