Dev.to

Get Dev.to tag

Get a Dev.to tag with its guidelines and about text.

GET/v1/dev-to/tag
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
1
namestringrequiredquery

Tag name, e.g. `javascript`.

pattern: ^[a-z0-9_-]{1,64}$

Response fields
16

Endpoint-specific response payload.

datalookupStatus
string

Whether the item was found.

one of: found, not_found

The tag when found; otherwise null.

datatagid
integer

Numeric tag id.

datatagname
string

Tag name, e.g. `javascript`.

datatagsummary
stringnullable

Short description of the tag.

datatagbackgroundColor
stringnullable

Tag colour (hex).

datatagtextColor
stringnullable

Tag text colour (hex).

datataglogoUrl
stringnullable

Tag logo URL, when the tag has one.

datatagguidelinesHtml
stringnullable

The tag's submission guidelines as HTML, or null when it has none.

datatagaboutHtml
stringnullable

The tag's about text as HTML, or null.

datataglastPage
integernullable

Number of pages of older posts, or null when unknown.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/dev-to/tag?name=javascript" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Dev.to tag.