Skip to main content
POST
Bridgly SDK

Authorizations

Authorization
string
header
required

A Bridgly API key (bgly_…). Metered endpoints deduct credits from the resolved account.

Body

application/json
query
string

Free-text search terms, matched against the default fields for this search type, e.g. "web framework".

owners
string[]

Limit to these owners (users or orgs). Maps to user:.

repos
string[]

Limit to these "owner/name" repositories. Maps to repo:.

language
string

Primary language, e.g. "TypeScript". Maps to language:.

stars
object

Filter by star count. Provide any of gt / gte / lt / lte; combine a lower and upper bound for a range.

forks
object

Filter by fork count. Provide any of gt / gte / lt / lte; combine a lower and upper bound for a range.

size
object

Filter by repository size in KB. Provide any of gt / gte / lt / lte; combine a lower and upper bound for a range.

created
object

Filter by creation date. Provide any of gt / gte / lt / lte as YYYY-MM-DD dates; combine a lower and upper bound for a range.

pushed
object

Filter by date of last push. Provide any of gt / gte / lt / lte as YYYY-MM-DD dates; combine a lower and upper bound for a range.

topics
string[]

Require each of these topics. Maps to topic:.

license
string

SPDX license key, e.g. "mit". Maps to license:.

archived
boolean

Filter by archived state. Maps to archived:.

visibility
enum<string>

Repository visibility. Maps to is:public / is:private.

Available options:
public,
private
fork
enum<string>
default:exclude

Whether to include forks: "exclude" (default), "include" (fork:true), or "only" (fork:only).

Available options:
exclude,
include,
only
sort
enum<string>
default:best-match

Sort field. Defaults to relevance ("best-match").

Available options:
best-match,
stars,
forks,
updated,
help-wanted-issues
order
enum<string>
default:desc

Sort direction. Defaults to "desc".

Available options:
desc,
asc
count
integer
default:10

Number of results per page (1–10). Defaults to 10.

Required range: 1 <= x <= 10
after
string

Pagination cursor (the after value returned by a previous page). Omit for the first page.

Response

Default Response

timeMs
number
required

Wall-clock time the request took to complete, in milliseconds.

creditsCost
number
required

Number of account credits this request consumed.

data
object
required