openapi: 3.0.3
info:
title: 'Biscred API Documentation'
description: ''
version: 1.0.0
servers:
-
url: 'https://api.biscred.com'
tags:
-
name: Authentication
description: ''
-
name: Credits
description: ''
-
name: Endpoints
description: ''
-
name: Lists
description: ''
components:
securitySchemes:
default:
type: http
scheme: bearer
description: ''
security:
-
default: []
paths:
/auth/login:
post:
summary: 'Get an authentication token'
operationId: getAnAuthenticationToken
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
token: bearer_token
refresh_token: refresh_token
properties:
token:
type: string
example: bearer_token
description: 'The token is only valid for 1 hour.'
refresh_token:
type: string
example: refresh_token
description: 'The refresh token is only valid for 30 days.'
required:
- token
- refresh_token
tags:
- Authentication
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
email:
type: string
description: 'The email address of the user.'
example: gbailey@example.net
password:
type: string
description: 'The password for the user.'
example: '|]|{+-'
required:
- email
- password
security: []
/auth/refresh/token:
get:
summary: 'Refresh the authentication token'
operationId: refreshTheAuthenticationToken
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
token: bearer_token
properties:
token:
type: string
example: bearer_token
description: 'The token is only valid for 1 hour.'
required:
- token
tags:
- Authentication
/v1/credits:
get:
summary: 'Get the number of credits available'
operationId: getTheNumberOfCreditsAvailable
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: 'You have 1000 credits available.'
data:
credits: 1000
properties:
success:
type: boolean
example: true
message:
type: string
example: 'You have 1000 credits available.'
data:
type: object
properties:
credits:
type: integer
example: 1000
tags:
- Credits
/v1/search/query:
post:
summary: 'Get the results from a search using a Biscred query string'
operationId: getTheResultsFromASearchUsingABiscredQueryString
description: ''
parameters: []
responses: { }
tags:
- Endpoints
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
query:
type: string
description: 'The Biscred query string, after query=, in the url'
example: eyJleGNsd..
entity_type:
type: string
description: 'The type of entity the query is for.'
example: company
enum:
- company
- contact
page:
type: integer
description: 'The page of results to return, default: 1'
example: 1
required:
- query
- entity_type
/v1/research:
post:
summary: 'Request research on a contact or company not found in the system'
operationId: requestResearchOnAContactOrCompanyNotFoundInTheSystem
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: 'true'
message: 'Your request for research has been accepted.'
data: 'null'
properties:
success:
type: string
example: 'true'
message:
type: string
example: 'Your request for research has been accepted.'
data:
type: string
example: 'null'
tags:
- Endpoints
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
url:
type: string
description: 'A company website, company LinkedIn url or a contact LinkedIn url'
example: 'http://www.bailey.biz/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html'
required:
- url
/v1/metros:
get:
summary: 'A listing of currently available metro areas'
operationId: aListingOfCurrentlyAvailableMetroAreas
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: 'true'
message: ''
data:
- 'New York Metro'
- 'Los Angeles Metro'
- ...
properties:
success:
type: string
example: 'true'
message:
type: string
example: ''
data:
type: array
example:
- 'New York Metro'
- 'Los Angeles Metro'
- ...
items:
type: string
tags:
- Endpoints
/v1/search/company:
post:
summary: 'Search for companies'
operationId: searchForCompanies
description: "Search for companies using any combination of the supported fields.
\n If multiple fields are provided, the results will include companies that match any of the fields unless \"grouped\" is set to true.
\n The meta field in the response includes a next-page-token that can be used to fetch the next page of results.
\n A maximum of 1,000 records will be returned in a single request.
\n Send the next_page_token in the next request to fetch additional records.
\n Use the \"best_match\" parameter to limit results to the top N most relevant matches (default: 1). When enabled, results are sorted by relevance score and pagination is disabled.
"
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
oneOf:
-
description: ''
type: object
example:
success: true
message: 'Companies found.'
data:
-
id: d8f13837-4f7f-407d-bddf-b9e5202dd760
name: Koch-Mante
legal_name: 'Koch-Mante Legal'
company_aliases:
- "Monahan-O'Keefe"
location:
-
city: 'North Leatha'
region: Iowa
street: '669 Terry Street Lane, Suite 902'
country: US
postal_code: 83416-6364
type: Headquarters
linkedin:
- 'https://www.linkedin.com/company/koch-mante'
websites:
- 'http://www.spinka.com//doloribus'
phones:
-
number: '+12812165247'
country: US
area_code: '281'
extension: null
asset_classes:
- Retail
industries: []
meta:
total_records: 1
next_page_token: WzMuNTA2NTU4LCIzOCJd
has_more: false
properties:
success:
type: boolean
example: true
message:
type: string
example: 'Companies found.'
data:
type: array
example:
-
id: d8f13837-4f7f-407d-bddf-b9e5202dd760
name: Koch-Mante
legal_name: 'Koch-Mante Legal'
company_aliases:
- "Monahan-O'Keefe"
location:
-
city: 'North Leatha'
region: Iowa
street: '669 Terry Street Lane, Suite 902'
country: US
postal_code: 83416-6364
type: Headquarters
linkedin:
- 'https://www.linkedin.com/company/koch-mante'
websites:
- 'http://www.spinka.com//doloribus'
phones:
-
number: '+12812165247'
country: US
area_code: '281'
extension: null
asset_classes:
- Retail
industries: []
items:
type: object
properties:
id:
type: string
example: d8f13837-4f7f-407d-bddf-b9e5202dd760
name:
type: string
example: Koch-Mante
legal_name:
type: string
example: 'Koch-Mante Legal'
company_aliases:
type: array
example:
- "Monahan-O'Keefe"
items:
type: string
location:
type: array
example:
-
city: 'North Leatha'
region: Iowa
street: '669 Terry Street Lane, Suite 902'
country: US
postal_code: 83416-6364
type: Headquarters
items:
type: object
properties:
city:
type: string
example: 'North Leatha'
region:
type: string
example: Iowa
street:
type: string
example: '669 Terry Street Lane, Suite 902'
country:
type: string
example: US
postal_code:
type: string
example: 83416-6364
type:
type: string
example: Headquarters
linkedin:
type: array
example:
- 'https://www.linkedin.com/company/koch-mante'
items:
type: string
websites:
type: array
example:
- 'http://www.spinka.com//doloribus'
items:
type: string
phones:
type: array
example:
-
number: '+12812165247'
country: US
area_code: '281'
extension: null
items:
type: object
properties:
number:
type: string
example: '+12812165247'
country:
type: string
example: US
area_code:
type: string
example: '281'
extension:
type: string
example: null
nullable: true
asset_classes:
type: array
example:
- Retail
items:
type: string
industries:
type: array
example: []
meta:
type: object
properties:
total_records:
type: integer
example: 1
next_page_token:
type: string
example: WzMuNTA2NTU4LCIzOCJd
has_more:
type: boolean
example: false
-
description: ''
type: object
example:
success: true
message: ''
data:
count: 5
properties:
success:
type: boolean
example: true
message:
type: string
example: ''
data:
type: object
properties:
count:
type: integer
example: 5
-
description: 'Preview mode - returns UUIDs only, no credits charged'
type: object
example:
success: true
message: 'Company UUIDs found.'
data:
- d8f13837-4f7f-407d-bddf-b9e5202dd760
- 364e3006-aed3-4466-81fb-c16c3b6207f0
meta:
total_records: 2
next_page_token: null
has_more: false
properties:
success:
type: boolean
example: true
message:
type: string
example: 'Company UUIDs found.'
data:
type: array
example:
- d8f13837-4f7f-407d-bddf-b9e5202dd760
- 364e3006-aed3-4466-81fb-c16c3b6207f0
items:
type: string
meta:
type: object
properties:
total_records:
type: integer
example: 2
next_page_token:
type: string
example: null
nullable: true
has_more:
type: boolean
example: false
404:
description: 'Companies not found'
content:
application/json:
schema:
type: object
example:
success: false
message: 'Company not found'
data: null
properties:
success:
type: boolean
example: false
message:
type: string
example: 'Company not found'
data:
type: string
example: null
nullable: true
tags:
- Endpoints
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
linkedin:
type: string
description: 'A LinkedIn company url'
example: 'https://www.linkedin.com/company/biscred'
company_id:
type: array
description: 'One or more company ids. Accepts an array or a comma-separated string. When `similar` is true, only a single id may be provided.'
example:
- 364e3006-aed3-4466-81fb-c16c3b6207f0
items:
type: string
domain:
type: string
description: 'A website domain'
example: 'biscred.com, without subdomains'
name:
type: string
description: 'A company name'
example: biscred
phone_number:
type: string
description: 'A phone number to search for'
example: 555-555-5555
metro:
type: string
description: 'A metro area. Note: A list of available metros is available using the metros endpoint'
example: 'New York Metro'
keywords:
type: string
description: 'Keywords seperated by a space'
example: 'engineering structural'
hq_only:
type: boolean
description: 'Search only metros where the company has a headquarters'
example: true
grouped:
type: boolean
description: 'If true, only records that match all requested fields will be returned'
example: true
count_only:
type: boolean
description: 'If true, only the count of the records found will be returned'
example: true
preview:
type: boolean
description: 'If true, returns only UUIDs of matching records without spending credits'
example: true
similar:
type: boolean
description: 'If true, return records that are similar to the included company_id'
example: true
best_match:
type: integer
description: 'Limit results to the top N most relevant matches (1-100). Pass `true` as shorthand for 1. When set, results are sorted by relevance score (descending) and pagination is disabled. The `meta.total_records` field reflects the truncated returned count; the top-level `count` field still carries the full match count.'
example: 5
required:
- linkedin
- company_id
- domain
- name
- phone_number
- metro
- keywords
/v1/search/contact:
post:
summary: 'Search for contacts'
operationId: searchForContacts
description: "Search for contacts using any combination of the supported fields.
\n If multiple fields are provided, the results will include contacts that match any of the fields unless \"grouped\" is set to true.
\n The meta field in the response includes a next-page-token that can be used to fetch the next page of results.
\n A maximum of 1,000 records will be returned in a single request.
\n Send the next_page_token in the next request to fetch additional records.
\n Use the \"best_match\" parameter to limit results to the top N most relevant matches (default: 1). When enabled, results are sorted by relevance score and pagination is disabled.
"
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
oneOf:
-
description: ''
type: object
example:
success: true
message: 'Contacts found'
data:
-
id: 2f1880c3-d338-4fb5-80b5-b8921a182023
name: 'Luis Dicki'
first_name: Luis
last_name: Dicki
emails:
- hester.von@example.net
linkedin:
- 'https://www.linkedin.com/in/luis-dicki'
metro: null
location:
city: 'East Kiannaburgh'
region: Missouri
street: '5931 Hunter Extension Harbors'
country: US
postal_code: '73585'
phones:
-
number: '+14171477191'
country: US
area_code: '417'
extension: null
type: work
employments:
-
company_id: e6b3f693-bd0b-4bb3-85d2-4dbc3c186f36
company_name: Stark-Parisian
primary: true
job_title: 'Food Tobacco Roasting Eligibility Interviewer'
start_date: null
end_date: null
asset_classes:
- 'Data Center'
job_classifications:
- 'General Manager'
-
company_id: f0519679-0a9e-42c2-9825-f7ac29ed1f48
company_name: 'Luettgen PLC'
primary: false
job_title: 'Electrolytic Plating Machine Operator Claims Taker'
start_date: null
end_date: null
asset_classes:
- Land
job_classifications:
- 'General Manager'
meta:
total_records: 1
next_page_token: WzIuNjM5MDU3NCwiMiJd
has_more: false
properties:
success:
type: boolean
example: true
message:
type: string
example: 'Contacts found'
data:
type: array
example:
-
id: 2f1880c3-d338-4fb5-80b5-b8921a182023
name: 'Luis Dicki'
first_name: Luis
last_name: Dicki
emails:
- hester.von@example.net
linkedin:
- 'https://www.linkedin.com/in/luis-dicki'
metro: null
location:
city: 'East Kiannaburgh'
region: Missouri
street: '5931 Hunter Extension Harbors'
country: US
postal_code: '73585'
phones:
-
number: '+14171477191'
country: US
area_code: '417'
extension: null
type: work
employments:
-
company_id: e6b3f693-bd0b-4bb3-85d2-4dbc3c186f36
company_name: Stark-Parisian
primary: true
job_title: 'Food Tobacco Roasting Eligibility Interviewer'
start_date: null
end_date: null
asset_classes:
- 'Data Center'
job_classifications:
- 'General Manager'
-
company_id: f0519679-0a9e-42c2-9825-f7ac29ed1f48
company_name: 'Luettgen PLC'
primary: false
job_title: 'Electrolytic Plating Machine Operator Claims Taker'
start_date: null
end_date: null
asset_classes:
- Land
job_classifications:
- 'General Manager'
items:
type: object
properties:
id:
type: string
example: 2f1880c3-d338-4fb5-80b5-b8921a182023
name:
type: string
example: 'Luis Dicki'
first_name:
type: string
example: Luis
last_name:
type: string
example: Dicki
emails:
type: array
example:
- hester.von@example.net
items:
type: string
linkedin:
type: array
example:
- 'https://www.linkedin.com/in/luis-dicki'
items:
type: string
metro:
type: string
example: null
nullable: true
location:
type: object
properties:
city:
type: string
example: 'East Kiannaburgh'
region:
type: string
example: Missouri
street:
type: string
example: '5931 Hunter Extension Harbors'
country:
type: string
example: US
postal_code:
type: string
example: '73585'
phones:
type: array
example:
-
number: '+14171477191'
country: US
area_code: '417'
extension: null
type: work
items:
type: object
properties:
number:
type: string
example: '+14171477191'
country:
type: string
example: US
area_code:
type: string
example: '417'
extension:
type: string
example: null
nullable: true
type:
type: string
example: work
employments:
type: array
example:
-
company_id: e6b3f693-bd0b-4bb3-85d2-4dbc3c186f36
company_name: Stark-Parisian
primary: true
job_title: 'Food Tobacco Roasting Eligibility Interviewer'
start_date: null
end_date: null
asset_classes:
- 'Data Center'
job_classifications:
- 'General Manager'
-
company_id: f0519679-0a9e-42c2-9825-f7ac29ed1f48
company_name: 'Luettgen PLC'
primary: false
job_title: 'Electrolytic Plating Machine Operator Claims Taker'
start_date: null
end_date: null
asset_classes:
- Land
job_classifications:
- 'General Manager'
items:
type: object
properties:
company_id:
type: string
example: e6b3f693-bd0b-4bb3-85d2-4dbc3c186f36
company_name:
type: string
example: Stark-Parisian
primary:
type: boolean
example: true
job_title:
type: string
example: 'Food Tobacco Roasting Eligibility Interviewer'
start_date:
type: string
example: null
nullable: true
end_date:
type: string
example: null
nullable: true
asset_classes:
type: array
example:
- 'Data Center'
items:
type: string
job_classifications:
type: array
example:
- 'General Manager'
items:
type: string
meta:
type: object
properties:
total_records:
type: integer
example: 1
next_page_token:
type: string
example: WzIuNjM5MDU3NCwiMiJd
has_more:
type: boolean
example: false
-
description: ''
type: object
example:
success: true
message: ''
data:
count: 5
properties:
success:
type: boolean
example: true
message:
type: string
example: ''
data:
type: object
properties:
count:
type: integer
example: 5
-
description: 'Preview mode - returns UUIDs only, no credits charged'
type: object
example:
success: true
message: 'Contact UUIDs found.'
data:
- 2f1880c3-d338-4fb5-80b5-b8921a182023
- 364e3006-aed3-4466-81fb-c16c3b6207f0
meta:
total_records: 2
next_page_token: null
has_more: false
properties:
success:
type: boolean
example: true
message:
type: string
example: 'Contact UUIDs found.'
data:
type: array
example:
- 2f1880c3-d338-4fb5-80b5-b8921a182023
- 364e3006-aed3-4466-81fb-c16c3b6207f0
items:
type: string
meta:
type: object
properties:
total_records:
type: integer
example: 2
next_page_token:
type: string
example: null
nullable: true
has_more:
type: boolean
example: false
404:
description: 'Contacts not found'
content:
application/json:
schema:
type: object
example:
success: false
message: 'Contacts not found'
data: null
properties:
success:
type: boolean
example: false
message:
type: string
example: 'Contacts not found'
data:
type: string
example: null
nullable: true
tags:
- Endpoints
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
contact_id:
type: array
description: 'One or more contact ids. Accepts an array or a comma-separated string.'
example:
- 364e3006-aed3-4466-81fb-c16c3b6207f0
items:
type: string
linkedin:
type: string
description: 'A contacts LinkedIn url'
example: 'https://www.linkedin.com/in/test-user'
email:
type: string
description: 'A valid email address'
example: support@biscred.com
first_name:
type: string
description: 'A contact first name'
example: architecto
last_name:
type: string
description: 'A contact last name'
example: architecto
company_name:
type: string
description: 'A company name'
example: architecto
company_id:
type: array
description: 'One or more company ids to use for searching. Accepts an array or a comma-separated string.'
example:
- 364e3006-aed3-4466-81fb-c16c3b6207f0
items:
type: string
job_title:
type: string
description: 'The job title to search for'
example: 'Chief Executive Officer'
phone_number:
type: string
description: 'A phone number to search for'
example: 555-555-5555
grouped:
type: boolean
description: 'If true, only records that match all requested fields will be returned'
example: true
count_only:
type: boolean
description: 'If true, only the count of the records found will be returned'
example: true
preview:
type: boolean
description: 'If true, returns only UUIDs of matching records without spending credits'
example: true
best_match:
type: integer
description: 'Limit results to the top N most relevant matches (1-100). Pass `true` as shorthand for 1. When set, results are sorted by relevance score (descending) and pagination is disabled. The `meta.total_records` field reflects the truncated returned count; the top-level `count` field still carries the full match count.'
example: 5
required:
- job_title
- phone_number
/v1/search/building:
post:
summary: 'Search for buildings'
operationId: searchForBuildings
description: "Search for buildings using any combination of the supported fields.
\n If multiple fields are provided, the results will include buildings that match any of the fields unless \"grouped\" is set to true.
\n The meta field in the response includes a next-page-token that can be used to fetch the next page of results.
\n A maximum of 1,000 records will be returned in a single request.
\n Send the next_page_token in the next request to fetch additional records.
"
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
oneOf:
-
description: ''
type: object
example:
success: true
message: 'Buildings found'
data:
-
id: 27c5f37b-fd8e-45c5-a169-7d8329c94c05
name: 'Satterfield, Conroy and Altenwerth Building'
location:
street: '243 Reilly Crescent'
city: Gleasonshire
region: Connecticut
postal_code: 58565-4690
country: US
metro: 'Gleasonshire Metro Area'
latitude: 30.123083
longitude: -99.031307
units: 485
stories: 18.47
footprint_sqft: 95057
zoning_type: Multi
zoning_subtype: Office
year_built: '2021'
parcel_acres: 44.044
parcel_sqft: 12447
population_density: 11044
population_growth_past_5_years: -0.12
housing_affordability_index: 54
median_household_income: 111000.11
household_income_growth_next_5_years: 2.84
sale_price: 356125.6
sale_date: '2023-05-15'
tax_amount: 8841.23
tax_year: '2023'
county: gleasonshire
mail_zip: '58565'
companies:
- 278cca9f-5ec8-473e-9801-0a553ff30ac4
- fdf96b58-1b10-4f67-9fa5-3fd3d1a67e08
- 5113c86d-a669-4751-b023-1a414e7ad84d
- 54627165-a00e-4baf-9e2c-8829919e1959
- a66ec3df-c23f-4db1-a76a-36a652df072a
- 057a425f-d3f8-4942-8f2e-e1f26bdfe0c2
- b1160216-d6fe-4eeb-8527-4644e578f949
- 81bc79bf-cfb1-4230-ba72-7eaf12a54014
- 51c1f5d3-37b9-416d-8f72-fd14710c18a7
- 731b7e8b-556f-470c-bba7-84a7813ac838
- ceb51b63-fb90-40c8-bcf9-c611386ef051
- bc334366-3552-4fbc-a96c-eb68e4913926
- 35ccaeb4-50ae-483f-aa62-e3b6d6411e55
- fff40bde-5e89-440a-9f45-a9f33e2712b3
- c78c8de6-a981-46ec-926c-6eefd8e66705
- 128ef298-2fcc-4581-845d-356df0b48a8b
- 9c0447a6-b83d-463b-bcb7-b99fcf8bc2bd
- 144588ec-3025-4ede-be0b-2842b6e6b5e0
- 235c0d57-8a49-4e1b-8d33-04d879aeba30
- ded85133-c7f5-476e-85e8-5a92b1b5c411
- 3ab44fdd-81a9-44ac-b6cf-abf964642830
- 6b721296-8e52-4f70-8cbf-cb2c5c620ea4
meta:
total_records: 1
next_page_token: WzEsIjI3YzVmMzdiLWZkOGUtNDVjNS1hMTY5LTdkODMyOWM5NGMwNSJd
has_more: false
properties:
success:
type: boolean
example: true
message:
type: string
example: 'Buildings found'
data:
type: array
example:
-
id: 27c5f37b-fd8e-45c5-a169-7d8329c94c05
name: 'Satterfield, Conroy and Altenwerth Building'
location:
street: '243 Reilly Crescent'
city: Gleasonshire
region: Connecticut
postal_code: 58565-4690
country: US
metro: 'Gleasonshire Metro Area'
latitude: 30.123083
longitude: -99.031307
units: 485
stories: 18.47
footprint_sqft: 95057
zoning_type: Multi
zoning_subtype: Office
year_built: '2021'
parcel_acres: 44.044
parcel_sqft: 12447
population_density: 11044
population_growth_past_5_years: -0.12
housing_affordability_index: 54
median_household_income: 111000.11
household_income_growth_next_5_years: 2.84
sale_price: 356125.6
sale_date: '2023-05-15'
tax_amount: 8841.23
tax_year: '2023'
county: gleasonshire
mail_zip: '58565'
companies:
- 278cca9f-5ec8-473e-9801-0a553ff30ac4
- fdf96b58-1b10-4f67-9fa5-3fd3d1a67e08
- 5113c86d-a669-4751-b023-1a414e7ad84d
- 54627165-a00e-4baf-9e2c-8829919e1959
- a66ec3df-c23f-4db1-a76a-36a652df072a
- 057a425f-d3f8-4942-8f2e-e1f26bdfe0c2
- b1160216-d6fe-4eeb-8527-4644e578f949
- 81bc79bf-cfb1-4230-ba72-7eaf12a54014
- 51c1f5d3-37b9-416d-8f72-fd14710c18a7
- 731b7e8b-556f-470c-bba7-84a7813ac838
- ceb51b63-fb90-40c8-bcf9-c611386ef051
- bc334366-3552-4fbc-a96c-eb68e4913926
- 35ccaeb4-50ae-483f-aa62-e3b6d6411e55
- fff40bde-5e89-440a-9f45-a9f33e2712b3
- c78c8de6-a981-46ec-926c-6eefd8e66705
- 128ef298-2fcc-4581-845d-356df0b48a8b
- 9c0447a6-b83d-463b-bcb7-b99fcf8bc2bd
- 144588ec-3025-4ede-be0b-2842b6e6b5e0
- 235c0d57-8a49-4e1b-8d33-04d879aeba30
- ded85133-c7f5-476e-85e8-5a92b1b5c411
- 3ab44fdd-81a9-44ac-b6cf-abf964642830
- 6b721296-8e52-4f70-8cbf-cb2c5c620ea4
items:
type: object
properties:
id:
type: string
example: 27c5f37b-fd8e-45c5-a169-7d8329c94c05
name:
type: string
example: 'Satterfield, Conroy and Altenwerth Building'
location:
type: object
properties:
street:
type: string
example: '243 Reilly Crescent'
city:
type: string
example: Gleasonshire
region:
type: string
example: Connecticut
postal_code:
type: string
example: 58565-4690
country:
type: string
example: US
metro:
type: string
example: 'Gleasonshire Metro Area'
latitude:
type: number
example: 30.123083
longitude:
type: number
example: -99.031307
units:
type: integer
example: 485
stories:
type: number
example: 18.47
footprint_sqft:
type: integer
example: 95057
zoning_type:
type: string
example: Multi
zoning_subtype:
type: string
example: Office
year_built:
type: string
example: '2021'
parcel_acres:
type: number
example: 44.044
parcel_sqft:
type: integer
example: 12447
population_density:
type: integer
example: 11044
population_growth_past_5_years:
type: number
example: -0.12
housing_affordability_index:
type: integer
example: 54
median_household_income:
type: number
example: 111000.11
household_income_growth_next_5_years:
type: number
example: 2.84
sale_price:
type: number
example: 356125.6
sale_date:
type: string
example: '2023-05-15'
tax_amount:
type: number
example: 8841.23
tax_year:
type: string
example: '2023'
county:
type: string
example: gleasonshire
mail_zip:
type: string
example: '58565'
companies:
type: array
example:
- 278cca9f-5ec8-473e-9801-0a553ff30ac4
- fdf96b58-1b10-4f67-9fa5-3fd3d1a67e08
- 5113c86d-a669-4751-b023-1a414e7ad84d
- 54627165-a00e-4baf-9e2c-8829919e1959
- a66ec3df-c23f-4db1-a76a-36a652df072a
- 057a425f-d3f8-4942-8f2e-e1f26bdfe0c2
- b1160216-d6fe-4eeb-8527-4644e578f949
- 81bc79bf-cfb1-4230-ba72-7eaf12a54014
- 51c1f5d3-37b9-416d-8f72-fd14710c18a7
- 731b7e8b-556f-470c-bba7-84a7813ac838
- ceb51b63-fb90-40c8-bcf9-c611386ef051
- bc334366-3552-4fbc-a96c-eb68e4913926
- 35ccaeb4-50ae-483f-aa62-e3b6d6411e55
- fff40bde-5e89-440a-9f45-a9f33e2712b3
- c78c8de6-a981-46ec-926c-6eefd8e66705
- 128ef298-2fcc-4581-845d-356df0b48a8b
- 9c0447a6-b83d-463b-bcb7-b99fcf8bc2bd
- 144588ec-3025-4ede-be0b-2842b6e6b5e0
- 235c0d57-8a49-4e1b-8d33-04d879aeba30
- ded85133-c7f5-476e-85e8-5a92b1b5c411
- 3ab44fdd-81a9-44ac-b6cf-abf964642830
- 6b721296-8e52-4f70-8cbf-cb2c5c620ea4
items:
type: string
meta:
type: object
properties:
total_records:
type: integer
example: 1
next_page_token:
type: string
example: WzEsIjI3YzVmMzdiLWZkOGUtNDVjNS1hMTY5LTdkODMyOWM5NGMwNSJd
has_more:
type: boolean
example: false
-
description: ''
type: object
example:
success: true
message: ''
data:
count: 5
properties:
success:
type: boolean
example: true
message:
type: string
example: ''
data:
type: object
properties:
count:
type: integer
example: 5
404:
description: 'Buildings not found'
content:
application/json:
schema:
type: object
example:
success: false
message: 'Building not found'
data: null
properties:
success:
type: boolean
example: false
message:
type: string
example: 'Building not found'
data:
type: string
example: null
nullable: true
tags:
- Endpoints
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
building_id:
type: array
description: 'A list of building ids'
example:
- 27c5f37b-fd8e-45c5-a169-7d8329c94c05
- a1b2c3d4-e5f6-7890-abcd-ef1234567890
items:
type: string
city:
type: array
description: 'A list of city names'
example:
- 'New York'
- 'Los Angeles'
items:
type: string
region:
type: array
description: 'A list of states or regions'
example:
- NY
- CA
items:
type: string
postal_code:
type: array
description: 'A list of postal or zip codes'
example:
- '10001'
- '90001'
items:
type: string
metro:
type: array
description: 'A list of metro areas. Note: A list of available metros is available using the metros endpoint'
example:
- 'New York Metro'
- 'Los Angeles Metro'
items:
type: string
units:
type: object
description: 'Number of units range filter'
example: '{"min": 10, "max": 100}'
properties:
min:
type: integer
description: 'Minimum number of units'
example: 10
max:
type: integer
description: 'Maximum number of units'
example: 100
stories:
type: object
description: 'Number of stories range filter'
example: '{"min": 1, "max": 10}'
properties:
min:
type: integer
description: 'Minimum number of stories'
example: 1
max:
type: integer
description: 'Maximum number of stories'
example: 10
footprint:
type: object
description: 'Building footprint in square feet range filter'
example: '{"min": 1000, "max": 50000}'
properties:
min:
type: integer
description: 'Minimum footprint in square feet'
example: 1000
max:
type: integer
description: 'Maximum footprint in square feet'
example: 50000
zoning_type:
type: array
description: 'A list of zoning classifications'
example:
- Commercial
- Residential
items:
type: string
company_id:
type: array
description: 'A list of company ids associated with the building'
example:
- fdf96b58-1b10-4f67-9fa5-3fd3d1a67e08
items:
type: string
grouped:
type: boolean
description: 'If true, only records that match all requested fields will be returned'
example: true
count_only:
type: boolean
description: 'If true, only the count of the records found will be returned'
example: true
next_page_token:
type: string
description: 'Token to fetch the next page of results'
example: WzMuNTA2NTU4LCIzOCJd
/v1/zoning-types:
get:
summary: 'Get zoning types'
operationId: getZoningTypes
description: 'A list of currently available zoning types'
parameters: []
responses:
200:
description: ''
content:
text/plain:
schema:
type: string
example: "\n {\n \"success\": true,\n \"message\": \"\",\n \"data\": [\n \"Commercial\",\n \"Residential\",\n \"Industrial\",\n \"Planned\",\n \"Special\",\n \"Mixed\",\n \"Agriculture\",\n \"Overlay\",\n ]\n }"
tags:
- Endpoints
/v1/user/lists:
get:
summary: 'Get the users lists saved in Biscred'
operationId: getTheUsersListsSavedInBiscred
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: null
data:
-
id: 1
name: 'List Name'
meta: null
properties:
success:
type: boolean
example: true
message:
type: string
example: null
nullable: true
data:
type: array
example:
-
id: 1
name: 'List Name'
items:
type: object
properties:
id:
type: integer
example: 1
name:
type: string
example: 'List Name'
meta:
type: string
example: null
nullable: true
500:
description: 'Server error'
content:
application/json:
schema:
type: object
example:
success: false
message: 'Unable to retrieve the users lists.'
data: null
properties:
success:
type: boolean
example: false
message:
type: string
example: 'Unable to retrieve the users lists.'
data:
type: string
example: null
nullable: true
tags:
- Lists
'/v1/user/list/{id}':
get:
summary: 'Get list details'
operationId: getListDetails
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: null
data:
id: 1
name: 'List Name'
public: true
list_type: App\Models\PublishedCompany
index_count: 100
created_at: '2024-01-01T00:00:00+00:00'
updated_at: '2024-01-01T00:00:00+00:00'
meta: null
properties:
success:
type: boolean
example: true
message:
type: string
example: null
nullable: true
data:
type: object
properties:
id:
type: integer
example: 1
name:
type: string
example: 'List Name'
public:
type: boolean
example: true
list_type:
type: string
example: App\Models\PublishedCompany
index_count:
type: integer
example: 100
created_at:
type: string
example: '2024-01-01T00:00:00+00:00'
updated_at:
type: string
example: '2024-01-01T00:00:00+00:00'
meta:
type: string
example: null
nullable: true
404:
description: 'List not found'
content:
application/json:
schema:
type: object
example:
success: false
message: 'List not found.'
data: null
properties:
success:
type: boolean
example: false
message:
type: string
example: 'List not found.'
data:
type: string
example: null
nullable: true
tags:
- Lists
delete:
summary: 'Delete a list'
operationId: deleteAList
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: null
data: []
meta: null
properties:
success:
type: boolean
example: true
message:
type: string
example: null
nullable: true
data:
type: array
example: []
meta:
type: string
example: null
nullable: true
404:
description: 'List not found'
content:
application/json:
schema:
type: object
example:
success: false
message: 'List not found.'
data: null
properties:
success:
type: boolean
example: false
message:
type: string
example: 'List not found.'
data:
type: string
example: null
nullable: true
tags:
- Lists
parameters:
-
in: path
name: id
description: 'The id of the list'
example: 1
required: true
schema:
type: integer
'/v1/user/list/{id}/items':
get:
summary: 'Get items in a list'
operationId: getItemsInAList
description: ''
parameters:
-
in: query
name: page
description: 'The page number'
example: 1
required: false
schema:
type: integer
description: 'The page number'
example: 1
-
in: query
name: per_page
description: 'Number of items per page (max 500)'
example: 100
required: false
schema:
type: integer
description: 'Number of items per page (max 500)'
example: 100
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: null
data:
- 00000000-0000-0000-0000-000000000000
meta:
current_page: 1
last_page: 1
per_page: 100
total: 100
next_page_url: null
prev_page_url: null
properties:
success:
type: boolean
example: true
message:
type: string
example: null
nullable: true
data:
type: array
example:
- 00000000-0000-0000-0000-000000000000
items:
type: string
meta:
type: object
properties:
current_page:
type: integer
example: 1
last_page:
type: integer
example: 1
per_page:
type: integer
example: 100
total:
type: integer
example: 100
next_page_url:
type: string
example: null
nullable: true
prev_page_url:
type: string
example: null
nullable: true
404:
description: 'List not found'
content:
application/json:
schema:
type: object
example:
success: false
message: 'List not found.'
data: null
properties:
success:
type: boolean
example: false
message:
type: string
example: 'List not found.'
data:
type: string
example: null
nullable: true
tags:
- Lists
parameters:
-
in: path
name: id
description: 'The id of the list'
example: 1
required: true
schema:
type: integer
/v1/user/list:
post:
summary: 'Add a company or contact to a list'
operationId: addACompanyOrContactToAList
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: null
data: []
meta: null
properties:
success:
type: boolean
example: true
message:
type: string
example: null
nullable: true
data:
type: array
example: []
meta:
type: string
example: null
nullable: true
404:
description: 'List not found'
content:
application/json:
schema:
type: object
example:
success: false
message: 'List not found.'
data: null
properties:
success:
type: boolean
example: false
message:
type: string
example: 'List not found.'
data:
type: string
example: null
nullable: true
422:
description: 'Entity type does not match the list type'
content:
application/json:
schema:
type: object
example:
success: false
message: 'Entity type and list type must match.'
data: null
properties:
success:
type: boolean
example: false
message:
type: string
example: 'Entity type and list type must match.'
data:
type: string
example: null
nullable: true
tags:
- Lists
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
list_id:
type: integer
description: 'The id of the list to add the entity'
example: 1
entity_type:
type: string
description: 'The type of entity to add to the list.'
example: company
enum:
- company
- contact
entity_ids:
type: array
description: 'An array of entity uuids to add to the list'
example:
- architecto
items:
type: string
required:
- list_id
- entity_type
- entity_ids
/v1/user/list/remove:
post:
summary: 'Remove entities from a list'
operationId: removeEntitiesFromAList
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: null
data: []
meta: null
properties:
success:
type: boolean
example: true
message:
type: string
example: null
nullable: true
data:
type: array
example: []
meta:
type: string
example: null
nullable: true
404:
description: 'List not found'
content:
application/json:
schema:
type: object
example:
success: false
message: 'List not found.'
data: null
properties:
success:
type: boolean
example: false
message:
type: string
example: 'List not found.'
data:
type: string
example: null
nullable: true
422:
description: 'Entity type does not match the list type'
content:
application/json:
schema:
type: object
example:
success: false
message: 'Entity type and list type must match.'
data: null
properties:
success:
type: boolean
example: false
message:
type: string
example: 'Entity type and list type must match.'
data:
type: string
example: null
nullable: true
tags:
- Lists
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
list_id:
type: integer
description: 'The id of the list to remove entities from'
example: 1
entity_type:
type: string
description: 'The type of entity to remove from the list.'
example: company
enum:
- company
- contact
entity_ids:
type: array
description: 'An array of entity uuids to remove from the list'
example:
- architecto
items:
type: string
required:
- list_id
- entity_type
- entity_ids
/v1/user/list/upload:
post:
summary: 'Upload a CSV file to create a list'
operationId: uploadACSVFileToCreateAList
description: ''
parameters: []
responses:
200:
description: ''
content:
application/json:
schema:
type: object
example:
success: true
message: null
data: []
meta: null
properties:
success:
type: boolean
example: true
message:
type: string
example: null
nullable: true
data:
type: array
example: []
meta:
type: string
example: null
nullable: true
tags:
- Lists
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
list_name:
type: string
description: 'The name of the list to create'
example: 'My New List'
public:
type: boolean
description: 'Should the list should be public'
example: false
list_type:
type: string
description: 'The type of entity to add to the list.'
example: company
enum:
- company
- contact
file:
type: csv
description: 'The CSV file to upload, use the following template file [list_template.csv](/templates/list_template.csv)'
example: null
required:
- list_name
- list_type
- file